AWS SDK for C++

AWS SDK for C++ Version 1.11.795

Loading...
Searching...
No Matches
UpdateConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/groundstation/GroundStation_EXPORTS.h>
10#include <aws/groundstation/model/ConfigCapabilityType.h>
11#include <aws/groundstation/model/ConfigTypeData.h>
12
13#include <utility>
14
15namespace Aws {
16namespace GroundStation {
17namespace Model {
18
26 public:
27 AWS_GROUNDSTATION_API UpdateConfigRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfig"; }
34
35 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetConfigId() const { return m_configId; }
42 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
43 template <typename ConfigIdT = Aws::String>
44 void SetConfigId(ConfigIdT&& value) {
45 m_configIdHasBeenSet = true;
46 m_configId = std::forward<ConfigIdT>(value);
47 }
48 template <typename ConfigIdT = Aws::String>
49 UpdateConfigRequest& WithConfigId(ConfigIdT&& value) {
50 SetConfigId(std::forward<ConfigIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 UpdateConfigRequest& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
78 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
80 m_configTypeHasBeenSet = true;
81 m_configType = value;
82 }
84 SetConfigType(value);
85 return *this;
86 }
88
90
93 inline const ConfigTypeData& GetConfigData() const { return m_configData; }
94 inline bool ConfigDataHasBeenSet() const { return m_configDataHasBeenSet; }
95 template <typename ConfigDataT = ConfigTypeData>
96 void SetConfigData(ConfigDataT&& value) {
97 m_configDataHasBeenSet = true;
98 m_configData = std::forward<ConfigDataT>(value);
99 }
100 template <typename ConfigDataT = ConfigTypeData>
101 UpdateConfigRequest& WithConfigData(ConfigDataT&& value) {
102 SetConfigData(std::forward<ConfigDataT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_configId;
108
109 Aws::String m_name;
110
112
113 ConfigTypeData m_configData;
114 bool m_configIdHasBeenSet = false;
115 bool m_nameHasBeenSet = false;
116 bool m_configTypeHasBeenSet = false;
117 bool m_configDataHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace GroundStation
122} // namespace Aws
UpdateConfigRequest & WithConfigData(ConfigDataT &&value)
void SetConfigType(ConfigCapabilityType value)
virtual const char * GetServiceRequestName() const override
UpdateConfigRequest & WithConfigType(ConfigCapabilityType value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
UpdateConfigRequest & WithConfigId(ConfigIdT &&value)
AWS_GROUNDSTATION_API UpdateConfigRequest()=default
UpdateConfigRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String