AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentTemplate.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/Provisioning.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Proton
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PROTON_API EnvironmentTemplate();
39 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline EnvironmentTemplate& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline EnvironmentTemplate& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline EnvironmentTemplate& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline EnvironmentTemplate& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline EnvironmentTemplate& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline EnvironmentTemplate& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline EnvironmentTemplate& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline EnvironmentTemplate& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
87 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
88 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
89 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
90 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
91 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
92 inline EnvironmentTemplate& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
93 inline EnvironmentTemplate& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
94 inline EnvironmentTemplate& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
96
98
101 inline const Aws::String& GetEncryptionKey() const{ return m_encryptionKey; }
102 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
103 inline void SetEncryptionKey(const Aws::String& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
104 inline void SetEncryptionKey(Aws::String&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
105 inline void SetEncryptionKey(const char* value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey.assign(value); }
106 inline EnvironmentTemplate& WithEncryptionKey(const Aws::String& value) { SetEncryptionKey(value); return *this;}
107 inline EnvironmentTemplate& WithEncryptionKey(Aws::String&& value) { SetEncryptionKey(std::move(value)); return *this;}
108 inline EnvironmentTemplate& WithEncryptionKey(const char* value) { SetEncryptionKey(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
116 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
117 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
118 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
120 inline EnvironmentTemplate& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
122
124
127 inline const Aws::String& GetName() const{ return m_name; }
128 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
129 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
130 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
131 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
132 inline EnvironmentTemplate& WithName(const Aws::String& value) { SetName(value); return *this;}
133 inline EnvironmentTemplate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
134 inline EnvironmentTemplate& WithName(const char* value) { SetName(value); return *this;}
136
138
142 inline const Provisioning& GetProvisioning() const{ return m_provisioning; }
143 inline bool ProvisioningHasBeenSet() const { return m_provisioningHasBeenSet; }
144 inline void SetProvisioning(const Provisioning& value) { m_provisioningHasBeenSet = true; m_provisioning = value; }
145 inline void SetProvisioning(Provisioning&& value) { m_provisioningHasBeenSet = true; m_provisioning = std::move(value); }
146 inline EnvironmentTemplate& WithProvisioning(const Provisioning& value) { SetProvisioning(value); return *this;}
147 inline EnvironmentTemplate& WithProvisioning(Provisioning&& value) { SetProvisioning(std::move(value)); return *this;}
149
151
154 inline const Aws::String& GetRecommendedVersion() const{ return m_recommendedVersion; }
155 inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; }
156 inline void SetRecommendedVersion(const Aws::String& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = value; }
157 inline void SetRecommendedVersion(Aws::String&& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = std::move(value); }
158 inline void SetRecommendedVersion(const char* value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion.assign(value); }
160 inline EnvironmentTemplate& WithRecommendedVersion(Aws::String&& value) { SetRecommendedVersion(std::move(value)); return *this;}
161 inline EnvironmentTemplate& WithRecommendedVersion(const char* value) { SetRecommendedVersion(value); return *this;}
163 private:
164
165 Aws::String m_arn;
166 bool m_arnHasBeenSet = false;
167
168 Aws::Utils::DateTime m_createdAt;
169 bool m_createdAtHasBeenSet = false;
170
171 Aws::String m_description;
172 bool m_descriptionHasBeenSet = false;
173
174 Aws::String m_displayName;
175 bool m_displayNameHasBeenSet = false;
176
177 Aws::String m_encryptionKey;
178 bool m_encryptionKeyHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModifiedAt;
181 bool m_lastModifiedAtHasBeenSet = false;
182
183 Aws::String m_name;
184 bool m_nameHasBeenSet = false;
185
186 Provisioning m_provisioning;
187 bool m_provisioningHasBeenSet = false;
188
189 Aws::String m_recommendedVersion;
190 bool m_recommendedVersionHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Proton
195} // namespace Aws
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
EnvironmentTemplate & WithName(const char *value)
EnvironmentTemplate & WithName(Aws::String &&value)
EnvironmentTemplate & WithDescription(const Aws::String &value)
const Aws::String & GetEncryptionKey() const
EnvironmentTemplate & WithArn(Aws::String &&value)
EnvironmentTemplate & WithDisplayName(const char *value)
EnvironmentTemplate & WithEncryptionKey(Aws::String &&value)
const Aws::String & GetRecommendedVersion() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
void SetDescription(const Aws::String &value)
EnvironmentTemplate & WithLastModifiedAt(Aws::Utils::DateTime &&value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
EnvironmentTemplate & WithArn(const char *value)
void SetEncryptionKey(const Aws::String &value)
const Aws::String & GetDescription() const
EnvironmentTemplate & WithDescription(const char *value)
EnvironmentTemplate & WithName(const Aws::String &value)
EnvironmentTemplate & WithEncryptionKey(const char *value)
EnvironmentTemplate & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
EnvironmentTemplate & WithLastModifiedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplate & WithArn(const Aws::String &value)
const Aws::String & GetDisplayName() const
EnvironmentTemplate & WithDisplayName(const Aws::String &value)
EnvironmentTemplate & WithEncryptionKey(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplate & WithCreatedAt(Aws::Utils::DateTime &&value)
EnvironmentTemplate & WithDisplayName(Aws::String &&value)
EnvironmentTemplate & WithProvisioning(const Provisioning &value)
void SetDisplayName(const Aws::String &value)
void SetRecommendedVersion(const Aws::String &value)
EnvironmentTemplate & WithRecommendedVersion(Aws::String &&value)
EnvironmentTemplate & WithProvisioning(Provisioning &&value)
AWS_PROTON_API EnvironmentTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentTemplate & WithDescription(Aws::String &&value)
void SetRecommendedVersion(Aws::String &&value)
EnvironmentTemplate & WithRecommendedVersion(const char *value)
EnvironmentTemplate & WithRecommendedVersion(const Aws::String &value)
void SetProvisioning(const Provisioning &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
const Provisioning & GetProvisioning() const
AWS_PROTON_API EnvironmentTemplate(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue