AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppConfig
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APPCONFIG_API HostedConfigurationVersionSummary() = default;
37 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
45 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 template<typename ApplicationIdT = Aws::String>
47 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
48 template<typename ApplicationIdT = Aws::String>
49 HostedConfigurationVersionSummary& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
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) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value); }
60 template<typename ConfigurationProfileIdT = Aws::String>
61 HostedConfigurationVersionSummary& WithConfigurationProfileId(ConfigurationProfileIdT&& value) { SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value)); return *this;}
63
65
68 inline int GetVersionNumber() const { return m_versionNumber; }
69 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
70 inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
71 inline HostedConfigurationVersionSummary& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 HostedConfigurationVersionSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85
87
92 inline const Aws::String& GetContentType() const { return m_contentType; }
93 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
94 template<typename ContentTypeT = Aws::String>
95 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
96 template<typename ContentTypeT = Aws::String>
97 HostedConfigurationVersionSummary& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
99
101
104 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
105 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
106 template<typename VersionLabelT = Aws::String>
107 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
108 template<typename VersionLabelT = Aws::String>
109 HostedConfigurationVersionSummary& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
111
113
118 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
119 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
120 template<typename KmsKeyArnT = Aws::String>
121 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
122 template<typename KmsKeyArnT = Aws::String>
123 HostedConfigurationVersionSummary& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
125 private:
126
127 Aws::String m_applicationId;
128 bool m_applicationIdHasBeenSet = false;
129
130 Aws::String m_configurationProfileId;
131 bool m_configurationProfileIdHasBeenSet = false;
132
133 int m_versionNumber{0};
134 bool m_versionNumberHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::String m_contentType;
140 bool m_contentTypeHasBeenSet = false;
141
142 Aws::String m_versionLabel;
143 bool m_versionLabelHasBeenSet = false;
144
145 Aws::String m_kmsKeyArn;
146 bool m_kmsKeyArnHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace AppConfig
151} // 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