AWS SDK for C++  1.9.67
AWS SDK for C++
CreateConfigRequest.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 "CreateConfig"; }
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 CreateConfigRequest& WithConfigData(const ConfigTypeData& value) { SetConfigData(value); return *this;}
64 
68  inline CreateConfigRequest& WithConfigData(ConfigTypeData&& value) { SetConfigData(std::move(value)); return *this;}
69 
70 
74  inline const Aws::String& GetName() const{ return m_name; }
75 
79  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 
84  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
85 
89  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
90 
94  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
95 
99  inline CreateConfigRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
100 
104  inline CreateConfigRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
105 
109  inline CreateConfigRequest& WithName(const char* value) { SetName(value); return *this;}
110 
111 
115  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
116 
120  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
121 
125  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
126 
130  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
131 
135  inline CreateConfigRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
136 
140  inline CreateConfigRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
141 
145  inline CreateConfigRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 
150  inline CreateConfigRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 
155  inline CreateConfigRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
156 
160  inline CreateConfigRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
161 
165  inline CreateConfigRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
166 
170  inline CreateConfigRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
171 
175  inline CreateConfigRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
176 
177  private:
178 
179  ConfigTypeData m_configData;
180  bool m_configDataHasBeenSet;
181 
182  Aws::String m_name;
183  bool m_nameHasBeenSet;
184 
186  bool m_tagsHasBeenSet;
187  };
188 
189 } // namespace Model
190 } // namespace GroundStation
191 } // namespace Aws
Aws::GroundStation::Model::CreateConfigRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateConfigRequest.h:89
Aws::GroundStation::Model::CreateConfigRequest::ConfigDataHasBeenSet
bool ConfigDataHasBeenSet() const
Definition: CreateConfigRequest.h:48
ConfigTypeData.h
Aws::GroundStation::Model::CreateConfigRequest::WithTags
CreateConfigRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateConfigRequest.h:140
Aws::GroundStation::Model::CreateConfigRequest::AddTags
CreateConfigRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateConfigRequest.h:165
Aws::GroundStation::Model::CreateConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateConfigRequest.h:35
Aws::GroundStation::Model::ConfigTypeData
Definition: ConfigTypeData.h:40
Aws::GroundStation::Model::CreateConfigRequest::SetName
void SetName(const char *value)
Definition: CreateConfigRequest.h:94
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::GroundStation::Model::CreateConfigRequest::WithConfigData
CreateConfigRequest & WithConfigData(ConfigTypeData &&value)
Definition: CreateConfigRequest.h:68
GroundStationRequest.h
Aws::GroundStation::Model::CreateConfigRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateConfigRequest.h:79
Aws::GroundStation::Model::CreateConfigRequest::WithName
CreateConfigRequest & WithName(Aws::String &&value)
Definition: CreateConfigRequest.h:104
GroundStation_EXPORTS.h
Aws::GroundStation::Model::CreateConfigRequest::WithName
CreateConfigRequest & WithName(const char *value)
Definition: CreateConfigRequest.h:109
Aws::GroundStation::Model::CreateConfigRequest::GetConfigData
const ConfigTypeData & GetConfigData() const
Definition: CreateConfigRequest.h:43
Aws::GroundStation::Model::CreateConfigRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateConfigRequest.h:125
Aws::GroundStation::Model::CreateConfigRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateConfigRequest.h:84
Aws::GroundStation::Model::CreateConfigRequest::SetConfigData
void SetConfigData(const ConfigTypeData &value)
Definition: CreateConfigRequest.h:53
Aws::GroundStation::Model::CreateConfigRequest::WithConfigData
CreateConfigRequest & WithConfigData(const ConfigTypeData &value)
Definition: CreateConfigRequest.h:63
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
AWSString.h
Aws::GroundStation::Model::CreateConfigRequest::WithTags
CreateConfigRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateConfigRequest.h:135
Aws::GroundStation::Model::CreateConfigRequest::CreateConfigRequest
CreateConfigRequest()
Aws::GroundStation::Model::CreateConfigRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateConfigRequest.h:120
Aws::GroundStation::Model::CreateConfigRequest
Definition: CreateConfigRequest.h:27
Aws::GroundStation::Model::CreateConfigRequest::WithName
CreateConfigRequest & WithName(const Aws::String &value)
Definition: CreateConfigRequest.h:99
Aws::GroundStation::Model::CreateConfigRequest::SetConfigData
void SetConfigData(ConfigTypeData &&value)
Definition: CreateConfigRequest.h:58
Aws::GroundStation::Model::CreateConfigRequest::AddTags
CreateConfigRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateConfigRequest.h:160
Aws::GroundStation::Model::CreateConfigRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateConfigRequest.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::CreateConfigRequest::AddTags
CreateConfigRequest & AddTags(const char *key, const char *value)
Definition: CreateConfigRequest.h:175
Aws::GroundStation::Model::CreateConfigRequest::AddTags
CreateConfigRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateConfigRequest.h:145
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::CreateConfigRequest::AddTags
CreateConfigRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateConfigRequest.h:170
Aws::GroundStation::Model::CreateConfigRequest::AddTags
CreateConfigRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateConfigRequest.h:150
Aws::GroundStation::Model::CreateConfigRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateConfigRequest.h:115
Aws::GroundStation::Model::CreateConfigRequest::SerializePayload
Aws::String SerializePayload() const override
AWSMap.h
Aws::GroundStation::Model::CreateConfigRequest::AddTags
CreateConfigRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateConfigRequest.h:155
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::GroundStation::Model::CreateConfigRequest::GetName
const Aws::String & GetName() const
Definition: CreateConfigRequest.h:74