AWS SDK for C++  1.8.71
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
CreateConfigRequest & AddTags(const char *key, const char *value)
virtual const char * GetServiceRequestName() const override
void SetConfigData(const ConfigTypeData &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
CreateConfigRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConfigRequest & WithConfigData(ConfigTypeData &&value)
CreateConfigRequest & WithConfigData(const ConfigTypeData &value)
CreateConfigRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateConfigRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
#define AWS_GROUNDSTATION_API
CreateConfigRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateConfigRequest & WithName(const char *value)
CreateConfigRequest & AddTags(Aws::String &&key, const char *value)
CreateConfigRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateConfigRequest & WithName(Aws::String &&value)
CreateConfigRequest & WithName(const Aws::String &value)
CreateConfigRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConfigRequest & AddTags(Aws::String &&key, const Aws::String &value)