AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetConfigResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.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 {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace GroundStation {
25namespace Model {
32 public:
33 AWS_GROUNDSTATION_API GetConfigResult() = default;
36
38
41 inline const Aws::String& GetConfigId() const { return m_configId; }
42 template <typename ConfigIdT = Aws::String>
43 void SetConfigId(ConfigIdT&& value) {
44 m_configIdHasBeenSet = true;
45 m_configId = std::forward<ConfigIdT>(value);
46 }
47 template <typename ConfigIdT = Aws::String>
48 GetConfigResult& WithConfigId(ConfigIdT&& value) {
49 SetConfigId(std::forward<ConfigIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetConfigArn() const { return m_configArn; }
59 template <typename ConfigArnT = Aws::String>
60 void SetConfigArn(ConfigArnT&& value) {
61 m_configArnHasBeenSet = true;
62 m_configArn = std::forward<ConfigArnT>(value);
63 }
64 template <typename ConfigArnT = Aws::String>
65 GetConfigResult& WithConfigArn(ConfigArnT&& value) {
66 SetConfigArn(std::forward<ConfigArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
82 GetConfigResult& WithName(NameT&& value) {
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
94 m_configTypeHasBeenSet = true;
95 m_configType = value;
96 }
98 SetConfigType(value);
99 return *this;
100 }
102
104
107 inline const ConfigTypeData& GetConfigData() const { return m_configData; }
108 template <typename ConfigDataT = ConfigTypeData>
109 void SetConfigData(ConfigDataT&& value) {
110 m_configDataHasBeenSet = true;
111 m_configData = std::forward<ConfigDataT>(value);
112 }
113 template <typename ConfigDataT = ConfigTypeData>
114 GetConfigResult& WithConfigData(ConfigDataT&& value) {
115 SetConfigData(std::forward<ConfigDataT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
125 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) {
127 m_tagsHasBeenSet = true;
128 m_tags = std::forward<TagsT>(value);
129 }
130 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 GetConfigResult& WithTags(TagsT&& value) {
132 SetTags(std::forward<TagsT>(value));
133 return *this;
134 }
135 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
136 GetConfigResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
137 m_tagsHasBeenSet = true;
138 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
139 return *this;
140 }
142
144
145 inline const Aws::String& GetRequestId() const { return m_requestId; }
146 template <typename RequestIdT = Aws::String>
147 void SetRequestId(RequestIdT&& value) {
148 m_requestIdHasBeenSet = true;
149 m_requestId = std::forward<RequestIdT>(value);
150 }
151 template <typename RequestIdT = Aws::String>
152 GetConfigResult& WithRequestId(RequestIdT&& value) {
153 SetRequestId(std::forward<RequestIdT>(value));
154 return *this;
155 }
157 private:
158 Aws::String m_configId;
159 bool m_configIdHasBeenSet = false;
160
161 Aws::String m_configArn;
162 bool m_configArnHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
168 bool m_configTypeHasBeenSet = false;
169
170 ConfigTypeData m_configData;
171 bool m_configDataHasBeenSet = false;
172
174 bool m_tagsHasBeenSet = false;
175
176 Aws::String m_requestId;
177 bool m_requestIdHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace GroundStation
182} // namespace Aws
const ConfigTypeData & GetConfigData() const
const Aws::String & GetConfigId() const
GetConfigResult & WithConfigArn(ConfigArnT &&value)
GetConfigResult & WithConfigData(ConfigDataT &&value)
AWS_GROUNDSTATION_API GetConfigResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetConfigType(ConfigCapabilityType value)
GetConfigResult & WithName(NameT &&value)
ConfigCapabilityType GetConfigType() const
GetConfigResult & WithTags(TagsT &&value)
GetConfigResult & WithRequestId(RequestIdT &&value)
GetConfigResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetConfigResult & WithConfigId(ConfigIdT &&value)
const Aws::String & GetConfigArn() const
AWS_GROUNDSTATION_API GetConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GROUNDSTATION_API GetConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigResult & WithConfigType(ConfigCapabilityType 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
Aws::Utils::Json::JsonValue JsonValue