AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
GetConfigResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/GroundStation_EXPORTS.h>
11#include <aws/groundstation/model/ConfigCapabilityType.h>
12#include <aws/groundstation/model/ConfigTypeData.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GroundStation {
26namespace Model {
34 public:
35 AWS_GROUNDSTATION_API GetConfigResult() = default;
38
40
43 inline const Aws::String& GetConfigId() const { return m_configId; }
44 template <typename ConfigIdT = Aws::String>
45 void SetConfigId(ConfigIdT&& value) {
46 m_configIdHasBeenSet = true;
47 m_configId = std::forward<ConfigIdT>(value);
48 }
49 template <typename ConfigIdT = Aws::String>
50 GetConfigResult& WithConfigId(ConfigIdT&& value) {
51 SetConfigId(std::forward<ConfigIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetConfigArn() const { return m_configArn; }
61 template <typename ConfigArnT = Aws::String>
62 void SetConfigArn(ConfigArnT&& value) {
63 m_configArnHasBeenSet = true;
64 m_configArn = std::forward<ConfigArnT>(value);
65 }
66 template <typename ConfigArnT = Aws::String>
67 GetConfigResult& WithConfigArn(ConfigArnT&& value) {
68 SetConfigArn(std::forward<ConfigArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
84 GetConfigResult& WithName(NameT&& value) {
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
96 m_configTypeHasBeenSet = true;
97 m_configType = value;
98 }
100 SetConfigType(value);
101 return *this;
102 }
104
106
109 inline const ConfigTypeData& GetConfigData() const { return m_configData; }
110 template <typename ConfigDataT = ConfigTypeData>
111 void SetConfigData(ConfigDataT&& value) {
112 m_configDataHasBeenSet = true;
113 m_configData = std::forward<ConfigDataT>(value);
114 }
115 template <typename ConfigDataT = ConfigTypeData>
116 GetConfigResult& WithConfigData(ConfigDataT&& value) {
117 SetConfigData(std::forward<ConfigDataT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
127 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 void SetTags(TagsT&& value) {
129 m_tagsHasBeenSet = true;
130 m_tags = std::forward<TagsT>(value);
131 }
132 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 GetConfigResult& WithTags(TagsT&& value) {
134 SetTags(std::forward<TagsT>(value));
135 return *this;
136 }
137 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
138 GetConfigResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
139 m_tagsHasBeenSet = true;
140 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
141 return *this;
142 }
144
146
147 inline const Aws::String& GetRequestId() const { return m_requestId; }
148 template <typename RequestIdT = Aws::String>
149 void SetRequestId(RequestIdT&& value) {
150 m_requestIdHasBeenSet = true;
151 m_requestId = std::forward<RequestIdT>(value);
152 }
153 template <typename RequestIdT = Aws::String>
154 GetConfigResult& WithRequestId(RequestIdT&& value) {
155 SetRequestId(std::forward<RequestIdT>(value));
156 return *this;
157 }
159 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
160
161 private:
162 Aws::String m_configId;
163
164 Aws::String m_configArn;
165
166 Aws::String m_name;
167
169
170 ConfigTypeData m_configData;
171
173
174 Aws::String m_requestId;
175 Aws::Http::HttpResponseCode m_HttpResponseCode;
176 bool m_configIdHasBeenSet = false;
177 bool m_configArnHasBeenSet = false;
178 bool m_nameHasBeenSet = false;
179 bool m_configTypeHasBeenSet = false;
180 bool m_configDataHasBeenSet = false;
181 bool m_tagsHasBeenSet = false;
182 bool m_requestIdHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace GroundStation
187} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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