AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConfigRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/groundstation/model/ConfigTypeData.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GroundStation
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_GROUNDSTATION_API CreateConfigRequest();
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_GROUNDSTATION_API Aws::String SerializePayload() const override;
38
39
41
44 inline const ConfigTypeData& GetConfigData() const{ return m_configData; }
45 inline bool ConfigDataHasBeenSet() const { return m_configDataHasBeenSet; }
46 inline void SetConfigData(const ConfigTypeData& value) { m_configDataHasBeenSet = true; m_configData = value; }
47 inline void SetConfigData(ConfigTypeData&& value) { m_configDataHasBeenSet = true; m_configData = std::move(value); }
48 inline CreateConfigRequest& WithConfigData(const ConfigTypeData& value) { SetConfigData(value); return *this;}
49 inline CreateConfigRequest& WithConfigData(ConfigTypeData&& value) { SetConfigData(std::move(value)); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreateConfigRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateConfigRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateConfigRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
71 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
72 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
73 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
74 inline CreateConfigRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
75 inline CreateConfigRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
76 inline CreateConfigRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
77 inline CreateConfigRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
78 inline CreateConfigRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
79 inline CreateConfigRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
80 inline CreateConfigRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
81 inline CreateConfigRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
82 inline CreateConfigRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
84 private:
85
86 ConfigTypeData m_configData;
87 bool m_configDataHasBeenSet = false;
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91
93 bool m_tagsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GroundStation
98} // namespace Aws
void SetConfigData(const ConfigTypeData &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateConfigRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConfigRequest & AddTags(Aws::String &&key, const char *value)
CreateConfigRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateConfigRequest & AddTags(const char *key, const char *value)
virtual const char * GetServiceRequestName() const override
CreateConfigRequest & WithConfigData(const ConfigTypeData &value)
CreateConfigRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConfigRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateConfigRequest & WithName(const Aws::String &value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConfigRequest & WithConfigData(ConfigTypeData &&value)
CreateConfigRequest & AddTags(const char *key, Aws::String &&value)
CreateConfigRequest & WithName(Aws::String &&value)
CreateConfigRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateConfigRequest & WithName(const char *value)
CreateConfigRequest & AddTags(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String