AWS SDK for C++

AWS SDK for C++ Version 1.11.740

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