AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace GroundStation
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateConfig"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const ConfigTypeData& GetConfigData() const{ return m_configData; }
44 
48  inline bool ConfigDataHasBeenSet() const { return m_configDataHasBeenSet; }
49 
53  inline void SetConfigData(const ConfigTypeData& value) { m_configDataHasBeenSet = true; m_configData = value; }
54 
58  inline void SetConfigData(ConfigTypeData&& value) { m_configDataHasBeenSet = true; m_configData = std::move(value); }
59 
63  inline UpdateConfigRequest& WithConfigData(const ConfigTypeData& value) { SetConfigData(value); return *this;}
64 
68  inline UpdateConfigRequest& WithConfigData(ConfigTypeData&& value) { SetConfigData(std::move(value)); return *this;}
69 
70 
74  inline const Aws::String& GetConfigId() const{ return m_configId; }
75 
79  inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
80 
84  inline void SetConfigId(const Aws::String& value) { m_configIdHasBeenSet = true; m_configId = value; }
85 
89  inline void SetConfigId(Aws::String&& value) { m_configIdHasBeenSet = true; m_configId = std::move(value); }
90 
94  inline void SetConfigId(const char* value) { m_configIdHasBeenSet = true; m_configId.assign(value); }
95 
99  inline UpdateConfigRequest& WithConfigId(const Aws::String& value) { SetConfigId(value); return *this;}
100 
104  inline UpdateConfigRequest& WithConfigId(Aws::String&& value) { SetConfigId(std::move(value)); return *this;}
105 
109  inline UpdateConfigRequest& WithConfigId(const char* value) { SetConfigId(value); return *this;}
110 
111 
115  inline const ConfigCapabilityType& GetConfigType() const{ return m_configType; }
116 
120  inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
121 
125  inline void SetConfigType(const ConfigCapabilityType& value) { m_configTypeHasBeenSet = true; m_configType = value; }
126 
130  inline void SetConfigType(ConfigCapabilityType&& value) { m_configTypeHasBeenSet = true; m_configType = std::move(value); }
131 
135  inline UpdateConfigRequest& WithConfigType(const ConfigCapabilityType& value) { SetConfigType(value); return *this;}
136 
140  inline UpdateConfigRequest& WithConfigType(ConfigCapabilityType&& value) { SetConfigType(std::move(value)); return *this;}
141 
142 
146  inline const Aws::String& GetName() const{ return m_name; }
147 
151  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
152 
156  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
157 
161  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
162 
166  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
167 
171  inline UpdateConfigRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
172 
176  inline UpdateConfigRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
177 
181  inline UpdateConfigRequest& WithName(const char* value) { SetName(value); return *this;}
182 
183  private:
184 
185  ConfigTypeData m_configData;
186  bool m_configDataHasBeenSet;
187 
188  Aws::String m_configId;
189  bool m_configIdHasBeenSet;
190 
191  ConfigCapabilityType m_configType;
192  bool m_configTypeHasBeenSet;
193 
194  Aws::String m_name;
195  bool m_nameHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace GroundStation
200 } // namespace Aws
Aws::GroundStation::Model::UpdateConfigRequest
Definition: UpdateConfigRequest.h:27
Aws::GroundStation::Model::UpdateConfigRequest::SetConfigData
void SetConfigData(const ConfigTypeData &value)
Definition: UpdateConfigRequest.h:53
Aws::GroundStation::Model::UpdateConfigRequest::GetName
const Aws::String & GetName() const
Definition: UpdateConfigRequest.h:146
ConfigTypeData.h
Aws::GroundStation::Model::UpdateConfigRequest::GetConfigType
const ConfigCapabilityType & GetConfigType() const
Definition: UpdateConfigRequest.h:115
Aws::GroundStation::Model::UpdateConfigRequest::WithConfigId
UpdateConfigRequest & WithConfigId(const Aws::String &value)
Definition: UpdateConfigRequest.h:99
Aws::GroundStation::Model::UpdateConfigRequest::WithConfigId
UpdateConfigRequest & WithConfigId(Aws::String &&value)
Definition: UpdateConfigRequest.h:104
Aws::GroundStation::Model::UpdateConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConfigRequest.h:35
Aws::GroundStation::Model::UpdateConfigRequest::WithConfigData
UpdateConfigRequest & WithConfigData(const ConfigTypeData &value)
Definition: UpdateConfigRequest.h:63
Aws::GroundStation::Model::UpdateConfigRequest::UpdateConfigRequest
UpdateConfigRequest()
Aws::GroundStation::Model::UpdateConfigRequest::WithConfigType
UpdateConfigRequest & WithConfigType(const ConfigCapabilityType &value)
Definition: UpdateConfigRequest.h:135
Aws::GroundStation::Model::UpdateConfigRequest::SetConfigData
void SetConfigData(ConfigTypeData &&value)
Definition: UpdateConfigRequest.h:58
Aws::GroundStation::Model::ConfigTypeData
Definition: ConfigTypeData.h:40
ConfigCapabilityType.h
Aws::GroundStation::Model::UpdateConfigRequest::GetConfigId
const Aws::String & GetConfigId() const
Definition: UpdateConfigRequest.h:74
Aws::GroundStation::Model::UpdateConfigRequest::ConfigDataHasBeenSet
bool ConfigDataHasBeenSet() const
Definition: UpdateConfigRequest.h:48
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::GroundStation::Model::UpdateConfigRequest::WithName
UpdateConfigRequest & WithName(Aws::String &&value)
Definition: UpdateConfigRequest.h:176
Aws::GroundStation::Model::UpdateConfigRequest::SetName
void SetName(const char *value)
Definition: UpdateConfigRequest.h:166
Aws::GroundStation::Model::UpdateConfigRequest::WithConfigId
UpdateConfigRequest & WithConfigId(const char *value)
Definition: UpdateConfigRequest.h:109
Aws::GroundStation::Model::UpdateConfigRequest::WithName
UpdateConfigRequest & WithName(const char *value)
Definition: UpdateConfigRequest.h:181
GroundStationRequest.h
Aws::GroundStation::Model::UpdateConfigRequest::SetConfigId
void SetConfigId(Aws::String &&value)
Definition: UpdateConfigRequest.h:89
Aws::GroundStation::Model::UpdateConfigRequest::WithConfigType
UpdateConfigRequest & WithConfigType(ConfigCapabilityType &&value)
Definition: UpdateConfigRequest.h:140
Aws::GroundStation::Model::UpdateConfigRequest::SerializePayload
Aws::String SerializePayload() const override
GroundStation_EXPORTS.h
Aws::GroundStation::Model::UpdateConfigRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateConfigRequest.h:161
Aws::GroundStation::Model::UpdateConfigRequest::SetConfigType
void SetConfigType(const ConfigCapabilityType &value)
Definition: UpdateConfigRequest.h:125
Aws::GroundStation::Model::UpdateConfigRequest::SetConfigType
void SetConfigType(ConfigCapabilityType &&value)
Definition: UpdateConfigRequest.h:130
Aws::GroundStation::Model::UpdateConfigRequest::SetConfigId
void SetConfigId(const Aws::String &value)
Definition: UpdateConfigRequest.h:84
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::ConfigCapabilityType
ConfigCapabilityType
Definition: ConfigCapabilityType.h:17
AWSString.h
Aws::GroundStation::Model::UpdateConfigRequest::ConfigTypeHasBeenSet
bool ConfigTypeHasBeenSet() const
Definition: UpdateConfigRequest.h:120
Aws::GroundStation::Model::UpdateConfigRequest::ConfigIdHasBeenSet
bool ConfigIdHasBeenSet() const
Definition: UpdateConfigRequest.h:79
Aws::GroundStation::Model::UpdateConfigRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateConfigRequest.h:151
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::UpdateConfigRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateConfigRequest.h:156
Aws::GroundStation::Model::UpdateConfigRequest::SetConfigId
void SetConfigId(const char *value)
Definition: UpdateConfigRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::UpdateConfigRequest::WithConfigData
UpdateConfigRequest & WithConfigData(ConfigTypeData &&value)
Definition: UpdateConfigRequest.h:68
Aws::GroundStation::Model::UpdateConfigRequest::GetConfigData
const ConfigTypeData & GetConfigData() const
Definition: UpdateConfigRequest.h:43
Aws::GroundStation::Model::UpdateConfigRequest::WithName
UpdateConfigRequest & WithName(const Aws::String &value)
Definition: UpdateConfigRequest.h:171