AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
HostedConfigurationVersionSummary.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppConfig {
20namespace Model {
21
28 public:
29 AWS_APPCONFIG_API HostedConfigurationVersionSummary() = default;
32 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
39 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
40 template <typename ApplicationIdT = Aws::String>
41 void SetApplicationId(ApplicationIdT&& value) {
42 m_applicationIdHasBeenSet = true;
43 m_applicationId = std::forward<ApplicationIdT>(value);
44 }
45 template <typename ApplicationIdT = Aws::String>
47 SetApplicationId(std::forward<ApplicationIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
57 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
58 template <typename ConfigurationProfileIdT = Aws::String>
59 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) {
60 m_configurationProfileIdHasBeenSet = true;
61 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
62 }
63 template <typename ConfigurationProfileIdT = Aws::String>
65 SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value));
66 return *this;
67 }
69
71
74 inline int GetVersionNumber() const { return m_versionNumber; }
75 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
76 inline void SetVersionNumber(int value) {
77 m_versionNumberHasBeenSet = true;
78 m_versionNumber = value;
79 }
81 SetVersionNumber(value);
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
110 inline const Aws::String& GetContentType() const { return m_contentType; }
111 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
112 template <typename ContentTypeT = Aws::String>
113 void SetContentType(ContentTypeT&& value) {
114 m_contentTypeHasBeenSet = true;
115 m_contentType = std::forward<ContentTypeT>(value);
116 }
117 template <typename ContentTypeT = Aws::String>
119 SetContentType(std::forward<ContentTypeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
129 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
130 template <typename VersionLabelT = Aws::String>
131 void SetVersionLabel(VersionLabelT&& value) {
132 m_versionLabelHasBeenSet = true;
133 m_versionLabel = std::forward<VersionLabelT>(value);
134 }
135 template <typename VersionLabelT = Aws::String>
137 SetVersionLabel(std::forward<VersionLabelT>(value));
138 return *this;
139 }
141
143
148 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
149 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
150 template <typename KmsKeyArnT = Aws::String>
151 void SetKmsKeyArn(KmsKeyArnT&& value) {
152 m_kmsKeyArnHasBeenSet = true;
153 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
154 }
155 template <typename KmsKeyArnT = Aws::String>
157 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_applicationId;
163
164 Aws::String m_configurationProfileId;
165
166 int m_versionNumber{0};
167
168 Aws::String m_description;
169
170 Aws::String m_contentType;
171
172 Aws::String m_versionLabel;
173
174 Aws::String m_kmsKeyArn;
175 bool m_applicationIdHasBeenSet = false;
176 bool m_configurationProfileIdHasBeenSet = false;
177 bool m_versionNumberHasBeenSet = false;
178 bool m_descriptionHasBeenSet = false;
179 bool m_contentTypeHasBeenSet = false;
180 bool m_versionLabelHasBeenSet = false;
181 bool m_kmsKeyArnHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace AppConfig
186} // namespace Aws
AWS_APPCONFIG_API HostedConfigurationVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
HostedConfigurationVersionSummary & WithApplicationId(ApplicationIdT &&value)
HostedConfigurationVersionSummary & WithDescription(DescriptionT &&value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
HostedConfigurationVersionSummary & WithContentType(ContentTypeT &&value)
HostedConfigurationVersionSummary & WithKmsKeyArn(KmsKeyArnT &&value)
HostedConfigurationVersionSummary & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
AWS_APPCONFIG_API HostedConfigurationVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIG_API HostedConfigurationVersionSummary()=default
HostedConfigurationVersionSummary & WithVersionLabel(VersionLabelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue