AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateThingRuntimeConfigurationRequest.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/GreengrassRequest.h>
9#include <aws/greengrass/model/TelemetryConfigurationUpdate.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Greengrass
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GREENGRASS_API UpdateThingRuntimeConfigurationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateThingRuntimeConfiguration"; }
32
33 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const TelemetryConfigurationUpdate& GetTelemetryConfiguration() const { return m_telemetryConfiguration; }
41 inline bool TelemetryConfigurationHasBeenSet() const { return m_telemetryConfigurationHasBeenSet; }
42 template<typename TelemetryConfigurationT = TelemetryConfigurationUpdate>
43 void SetTelemetryConfiguration(TelemetryConfigurationT&& value) { m_telemetryConfigurationHasBeenSet = true; m_telemetryConfiguration = std::forward<TelemetryConfigurationT>(value); }
44 template<typename TelemetryConfigurationT = TelemetryConfigurationUpdate>
45 UpdateThingRuntimeConfigurationRequest& WithTelemetryConfiguration(TelemetryConfigurationT&& value) { SetTelemetryConfiguration(std::forward<TelemetryConfigurationT>(value)); return *this;}
47
49
52 inline const Aws::String& GetThingName() const { return m_thingName; }
53 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
54 template<typename ThingNameT = Aws::String>
55 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet = true; m_thingName = std::forward<ThingNameT>(value); }
56 template<typename ThingNameT = Aws::String>
57 UpdateThingRuntimeConfigurationRequest& WithThingName(ThingNameT&& value) { SetThingName(std::forward<ThingNameT>(value)); return *this;}
59 private:
60
61 TelemetryConfigurationUpdate m_telemetryConfiguration;
62 bool m_telemetryConfigurationHasBeenSet = false;
63
64 Aws::String m_thingName;
65 bool m_thingNameHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Greengrass
70} // namespace Aws
UpdateThingRuntimeConfigurationRequest & WithThingName(ThingNameT &&value)
UpdateThingRuntimeConfigurationRequest & WithTelemetryConfiguration(TelemetryConfigurationT &&value)
AWS_GREENGRASS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String