AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ConfigurationProfileSummary.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/ValidatorType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppConfig {
22namespace Model {
23
30 public:
31 AWS_APPCONFIG_API ConfigurationProfileSummary() = default;
34 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) {
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
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>
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
95 inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
96 template <typename LocationUriT = Aws::String>
97 void SetLocationUri(LocationUriT&& value) {
98 m_locationUriHasBeenSet = true;
99 m_locationUri = std::forward<LocationUriT>(value);
100 }
101 template <typename LocationUriT = Aws::String>
103 SetLocationUri(std::forward<LocationUriT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Vector<ValidatorType>& GetValidatorTypes() const { return m_validatorTypes; }
113 inline bool ValidatorTypesHasBeenSet() const { return m_validatorTypesHasBeenSet; }
114 template <typename ValidatorTypesT = Aws::Vector<ValidatorType>>
115 void SetValidatorTypes(ValidatorTypesT&& value) {
116 m_validatorTypesHasBeenSet = true;
117 m_validatorTypes = std::forward<ValidatorTypesT>(value);
118 }
119 template <typename ValidatorTypesT = Aws::Vector<ValidatorType>>
121 SetValidatorTypes(std::forward<ValidatorTypesT>(value));
122 return *this;
123 }
125 m_validatorTypesHasBeenSet = true;
126 m_validatorTypes.push_back(value);
127 return *this;
128 }
130
132
141 inline const Aws::String& GetType() const { return m_type; }
142 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
143 template <typename TypeT = Aws::String>
144 void SetType(TypeT&& value) {
145 m_typeHasBeenSet = true;
146 m_type = std::forward<TypeT>(value);
147 }
148 template <typename TypeT = Aws::String>
150 SetType(std::forward<TypeT>(value));
151 return *this;
152 }
154 private:
155 Aws::String m_applicationId;
156
157 Aws::String m_id;
158
159 Aws::String m_name;
160
161 Aws::String m_locationUri;
162
163 Aws::Vector<ValidatorType> m_validatorTypes;
164
165 Aws::String m_type;
166 bool m_applicationIdHasBeenSet = false;
167 bool m_idHasBeenSet = false;
168 bool m_nameHasBeenSet = false;
169 bool m_locationUriHasBeenSet = false;
170 bool m_validatorTypesHasBeenSet = false;
171 bool m_typeHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace AppConfig
176} // namespace Aws
ConfigurationProfileSummary & WithName(NameT &&value)
AWS_APPCONFIG_API ConfigurationProfileSummary(Aws::Utils::Json::JsonView jsonValue)
ConfigurationProfileSummary & WithId(IdT &&value)
AWS_APPCONFIG_API ConfigurationProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationProfileSummary & WithLocationUri(LocationUriT &&value)
ConfigurationProfileSummary & WithApplicationId(ApplicationIdT &&value)
AWS_APPCONFIG_API ConfigurationProfileSummary()=default
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationProfileSummary & WithValidatorTypes(ValidatorTypesT &&value)
const Aws::Vector< ValidatorType > & GetValidatorTypes() const
ConfigurationProfileSummary & AddValidatorTypes(ValidatorType value)
ConfigurationProfileSummary & WithType(TypeT &&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