AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetConfigurationProfileResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appconfig/model/Validator.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppConfig
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPCONFIG_API GetConfigurationProfileResult() = default;
35
36
38
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 template<typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
44 template<typename ApplicationIdT = Aws::String>
45 GetConfigurationProfileResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 GetConfigurationProfileResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetName() const { return m_name; }
64 template<typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
66 template<typename NameT = Aws::String>
67 GetConfigurationProfileResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 GetConfigurationProfileResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
85 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
86 template<typename LocationUriT = Aws::String>
87 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::forward<LocationUriT>(value); }
88 template<typename LocationUriT = Aws::String>
89 GetConfigurationProfileResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
91
93
97 inline const Aws::String& GetRetrievalRoleArn() const { return m_retrievalRoleArn; }
98 template<typename RetrievalRoleArnT = Aws::String>
99 void SetRetrievalRoleArn(RetrievalRoleArnT&& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = std::forward<RetrievalRoleArnT>(value); }
100 template<typename RetrievalRoleArnT = Aws::String>
101 GetConfigurationProfileResult& WithRetrievalRoleArn(RetrievalRoleArnT&& value) { SetRetrievalRoleArn(std::forward<RetrievalRoleArnT>(value)); return *this;}
103
105
108 inline const Aws::Vector<Validator>& GetValidators() const { return m_validators; }
109 template<typename ValidatorsT = Aws::Vector<Validator>>
110 void SetValidators(ValidatorsT&& value) { m_validatorsHasBeenSet = true; m_validators = std::forward<ValidatorsT>(value); }
111 template<typename ValidatorsT = Aws::Vector<Validator>>
112 GetConfigurationProfileResult& WithValidators(ValidatorsT&& value) { SetValidators(std::forward<ValidatorsT>(value)); return *this;}
113 template<typename ValidatorsT = Validator>
114 GetConfigurationProfileResult& AddValidators(ValidatorsT&& value) { m_validatorsHasBeenSet = true; m_validators.emplace_back(std::forward<ValidatorsT>(value)); return *this; }
116
118
127 inline const Aws::String& GetType() const { return m_type; }
128 template<typename TypeT = Aws::String>
129 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
130 template<typename TypeT = Aws::String>
131 GetConfigurationProfileResult& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
133
135
142 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
143 template<typename KmsKeyArnT = Aws::String>
144 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
145 template<typename KmsKeyArnT = Aws::String>
146 GetConfigurationProfileResult& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
148
150
154 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
155 template<typename KmsKeyIdentifierT = Aws::String>
156 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
157 template<typename KmsKeyIdentifierT = Aws::String>
158 GetConfigurationProfileResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
160
162
163 inline const Aws::String& GetRequestId() const { return m_requestId; }
164 template<typename RequestIdT = Aws::String>
165 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
166 template<typename RequestIdT = Aws::String>
167 GetConfigurationProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
169 private:
170
171 Aws::String m_applicationId;
172 bool m_applicationIdHasBeenSet = false;
173
174 Aws::String m_id;
175 bool m_idHasBeenSet = false;
176
177 Aws::String m_name;
178 bool m_nameHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 Aws::String m_locationUri;
184 bool m_locationUriHasBeenSet = false;
185
186 Aws::String m_retrievalRoleArn;
187 bool m_retrievalRoleArnHasBeenSet = false;
188
189 Aws::Vector<Validator> m_validators;
190 bool m_validatorsHasBeenSet = false;
191
192 Aws::String m_type;
193 bool m_typeHasBeenSet = false;
194
195 Aws::String m_kmsKeyArn;
196 bool m_kmsKeyArnHasBeenSet = false;
197
198 Aws::String m_kmsKeyIdentifier;
199 bool m_kmsKeyIdentifierHasBeenSet = false;
200
201 Aws::String m_requestId;
202 bool m_requestIdHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace AppConfig
207} // namespace Aws
GetConfigurationProfileResult & WithDescription(DescriptionT &&value)
GetConfigurationProfileResult & WithRequestId(RequestIdT &&value)
AWS_APPCONFIG_API GetConfigurationProfileResult()=default
GetConfigurationProfileResult & WithValidators(ValidatorsT &&value)
GetConfigurationProfileResult & WithRetrievalRoleArn(RetrievalRoleArnT &&value)
GetConfigurationProfileResult & WithApplicationId(ApplicationIdT &&value)
AWS_APPCONFIG_API GetConfigurationProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPCONFIG_API GetConfigurationProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationProfileResult & WithLocationUri(LocationUriT &&value)
GetConfigurationProfileResult & WithName(NameT &&value)
GetConfigurationProfileResult & AddValidators(ValidatorsT &&value)
GetConfigurationProfileResult & WithType(TypeT &&value)
GetConfigurationProfileResult & WithKmsKeyArn(KmsKeyArnT &&value)
GetConfigurationProfileResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue