AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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 {
33 public:
34 AWS_GROUNDSTATION_API GetConfigResult() = default;
37
39
42 inline const Aws::String& GetConfigId() const { return m_configId; }
43 template <typename ConfigIdT = Aws::String>
44 void SetConfigId(ConfigIdT&& value) {
45 m_configIdHasBeenSet = true;
46 m_configId = std::forward<ConfigIdT>(value);
47 }
48 template <typename ConfigIdT = Aws::String>
49 GetConfigResult& WithConfigId(ConfigIdT&& value) {
50 SetConfigId(std::forward<ConfigIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetConfigArn() const { return m_configArn; }
60 template <typename ConfigArnT = Aws::String>
61 void SetConfigArn(ConfigArnT&& value) {
62 m_configArnHasBeenSet = true;
63 m_configArn = std::forward<ConfigArnT>(value);
64 }
65 template <typename ConfigArnT = Aws::String>
66 GetConfigResult& WithConfigArn(ConfigArnT&& value) {
67 SetConfigArn(std::forward<ConfigArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 GetConfigResult& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
95 m_configTypeHasBeenSet = true;
96 m_configType = value;
97 }
99 SetConfigType(value);
100 return *this;
101 }
103
105
108 inline const ConfigTypeData& GetConfigData() const { return m_configData; }
109 template <typename ConfigDataT = ConfigTypeData>
110 void SetConfigData(ConfigDataT&& value) {
111 m_configDataHasBeenSet = true;
112 m_configData = std::forward<ConfigDataT>(value);
113 }
114 template <typename ConfigDataT = ConfigTypeData>
115 GetConfigResult& WithConfigData(ConfigDataT&& value) {
116 SetConfigData(std::forward<ConfigDataT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
126 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 void SetTags(TagsT&& value) {
128 m_tagsHasBeenSet = true;
129 m_tags = std::forward<TagsT>(value);
130 }
131 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 GetConfigResult& WithTags(TagsT&& value) {
133 SetTags(std::forward<TagsT>(value));
134 return *this;
135 }
136 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
137 GetConfigResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
138 m_tagsHasBeenSet = true;
139 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
140 return *this;
141 }
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
147 template <typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) {
149 m_requestIdHasBeenSet = true;
150 m_requestId = std::forward<RequestIdT>(value);
151 }
152 template <typename RequestIdT = Aws::String>
153 GetConfigResult& WithRequestId(RequestIdT&& value) {
154 SetRequestId(std::forward<RequestIdT>(value));
155 return *this;
156 }
158 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
159
160 private:
161 Aws::String m_configId;
162
163 Aws::String m_configArn;
164
165 Aws::String m_name;
166
168
169 ConfigTypeData m_configData;
170
172
173 Aws::String m_requestId;
174 Aws::Http::HttpResponseCode m_HttpResponseCode;
175 bool m_configIdHasBeenSet = false;
176 bool m_configArnHasBeenSet = false;
177 bool m_nameHasBeenSet = false;
178 bool m_configTypeHasBeenSet = false;
179 bool m_configDataHasBeenSet = false;
180 bool m_tagsHasBeenSet = false;
181 bool m_requestIdHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace GroundStation
186} // 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