AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetTelemetryConfiguration(const TelemetryConfigurationUpdate& value) { m_telemetryConfigurationHasBeenSet = true; m_telemetryConfiguration = value; }
43 inline void SetTelemetryConfiguration(TelemetryConfigurationUpdate&& value) { m_telemetryConfigurationHasBeenSet = true; m_telemetryConfiguration = std::move(value); }
47
49
52 inline const Aws::String& GetThingName() const{ return m_thingName; }
53 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
54 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
55 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
56 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
58 inline UpdateThingRuntimeConfigurationRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
59 inline UpdateThingRuntimeConfigurationRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
61 private:
62
63 TelemetryConfigurationUpdate m_telemetryConfiguration;
64 bool m_telemetryConfigurationHasBeenSet = false;
65
66 Aws::String m_thingName;
67 bool m_thingNameHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Greengrass
72} // namespace Aws
UpdateThingRuntimeConfigurationRequest & WithThingName(Aws::String &&value)
UpdateThingRuntimeConfigurationRequest & WithTelemetryConfiguration(TelemetryConfigurationUpdate &&value)
UpdateThingRuntimeConfigurationRequest & WithThingName(const Aws::String &value)
UpdateThingRuntimeConfigurationRequest & WithThingName(const char *value)
AWS_GREENGRASS_API Aws::String SerializePayload() const override
UpdateThingRuntimeConfigurationRequest & WithTelemetryConfiguration(const TelemetryConfigurationUpdate &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String