AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
47 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
48 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
50 inline HostedConfigurationVersionSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
51 inline HostedConfigurationVersionSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
53
55
58 inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
59 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
60 inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
61 inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
62 inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
67
69
72 inline int GetVersionNumber() const{ return m_versionNumber; }
73 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
74 inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
75 inline HostedConfigurationVersionSummary& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
77
79
82 inline const Aws::String& GetDescription() const{ return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
85 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
86 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
87 inline HostedConfigurationVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
88 inline HostedConfigurationVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
89 inline HostedConfigurationVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
91
93
98 inline const Aws::String& GetContentType() const{ return m_contentType; }
99 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
100 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
101 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
102 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
104 inline HostedConfigurationVersionSummary& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
105 inline HostedConfigurationVersionSummary& WithContentType(const char* value) { SetContentType(value); return *this;}
107
109
112 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
113 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
114 inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
115 inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
116 inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
118 inline HostedConfigurationVersionSummary& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
119 inline HostedConfigurationVersionSummary& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
121
123
128 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
129 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
130 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
131 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
132 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
133 inline HostedConfigurationVersionSummary& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
134 inline HostedConfigurationVersionSummary& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
135 inline HostedConfigurationVersionSummary& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
137 private:
138
139 Aws::String m_applicationId;
140 bool m_applicationIdHasBeenSet = false;
141
142 Aws::String m_configurationProfileId;
143 bool m_configurationProfileIdHasBeenSet = false;
144
145 int m_versionNumber;
146 bool m_versionNumberHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::String m_contentType;
152 bool m_contentTypeHasBeenSet = false;
153
154 Aws::String m_versionLabel;
155 bool m_versionLabelHasBeenSet = false;
156
157 Aws::String m_kmsKeyArn;
158 bool m_kmsKeyArnHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace AppConfig
163} // namespace Aws
HostedConfigurationVersionSummary & WithDescription(const Aws::String &value)
HostedConfigurationVersionSummary & WithContentType(const char *value)
HostedConfigurationVersionSummary & WithKmsKeyArn(Aws::String &&value)
HostedConfigurationVersionSummary & WithVersionLabel(const Aws::String &value)
AWS_APPCONFIG_API HostedConfigurationVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
HostedConfigurationVersionSummary & WithApplicationId(const char *value)
HostedConfigurationVersionSummary & WithConfigurationProfileId(const char *value)
HostedConfigurationVersionSummary & WithDescription(const char *value)
HostedConfigurationVersionSummary & WithConfigurationProfileId(const Aws::String &value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
HostedConfigurationVersionSummary & WithDescription(Aws::String &&value)
HostedConfigurationVersionSummary & WithVersionLabel(Aws::String &&value)
HostedConfigurationVersionSummary & WithKmsKeyArn(const char *value)
AWS_APPCONFIG_API HostedConfigurationVersionSummary(Aws::Utils::Json::JsonView jsonValue)
HostedConfigurationVersionSummary & WithContentType(const Aws::String &value)
HostedConfigurationVersionSummary & WithContentType(Aws::String &&value)
HostedConfigurationVersionSummary & WithKmsKeyArn(const Aws::String &value)
HostedConfigurationVersionSummary & WithVersionLabel(const char *value)
HostedConfigurationVersionSummary & WithConfigurationProfileId(Aws::String &&value)
HostedConfigurationVersionSummary & WithApplicationId(Aws::String &&value)
HostedConfigurationVersionSummary & WithApplicationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue