AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 EnvironmentTemplate& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template<typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
62 template<typename CreatedAtT = Aws::Utils::DateTime>
63 EnvironmentTemplate& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 EnvironmentTemplate& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
83 inline const Aws::String& GetDisplayName() const { return m_displayName; }
84 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
85 template<typename DisplayNameT = Aws::String>
86 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
87 template<typename DisplayNameT = Aws::String>
88 EnvironmentTemplate& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
96 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
97 template<typename EncryptionKeyT = Aws::String>
98 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
99 template<typename EncryptionKeyT = Aws::String>
100 EnvironmentTemplate& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
108 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
109 template<typename LastModifiedAtT = Aws::Utils::DateTime>
110 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
111 template<typename LastModifiedAtT = Aws::Utils::DateTime>
112 EnvironmentTemplate& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
114
116
119 inline const Aws::String& GetName() const { return m_name; }
120 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
121 template<typename NameT = Aws::String>
122 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
123 template<typename NameT = Aws::String>
124 EnvironmentTemplate& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
126
128
132 inline Provisioning GetProvisioning() const { return m_provisioning; }
133 inline bool ProvisioningHasBeenSet() const { return m_provisioningHasBeenSet; }
134 inline void SetProvisioning(Provisioning value) { m_provisioningHasBeenSet = true; m_provisioning = value; }
135 inline EnvironmentTemplate& WithProvisioning(Provisioning value) { SetProvisioning(value); return *this;}
137
139
142 inline const Aws::String& GetRecommendedVersion() const { return m_recommendedVersion; }
143 inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; }
144 template<typename RecommendedVersionT = Aws::String>
145 void SetRecommendedVersion(RecommendedVersionT&& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = std::forward<RecommendedVersionT>(value); }
146 template<typename RecommendedVersionT = Aws::String>
147 EnvironmentTemplate& WithRecommendedVersion(RecommendedVersionT&& value) { SetRecommendedVersion(std::forward<RecommendedVersionT>(value)); return *this;}
149 private:
150
151 Aws::String m_arn;
152 bool m_arnHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createdAt{};
155 bool m_createdAtHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::String m_displayName;
161 bool m_displayNameHasBeenSet = false;
162
163 Aws::String m_encryptionKey;
164 bool m_encryptionKeyHasBeenSet = false;
165
166 Aws::Utils::DateTime m_lastModifiedAt{};
167 bool m_lastModifiedAtHasBeenSet = false;
168
169 Aws::String m_name;
170 bool m_nameHasBeenSet = false;
171
172 Provisioning m_provisioning{Provisioning::NOT_SET};
173 bool m_provisioningHasBeenSet = false;
174
175 Aws::String m_recommendedVersion;
176 bool m_recommendedVersionHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace Proton
181} // namespace Aws
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentTemplate & WithRecommendedVersion(RecommendedVersionT &&value)
AWS_PROTON_API EnvironmentTemplate()=default
const Aws::String & GetEncryptionKey() const
const Aws::String & GetRecommendedVersion() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
const Aws::String & GetDescription() const
EnvironmentTemplate & WithCreatedAt(CreatedAtT &&value)
void SetEncryptionKey(EncryptionKeyT &&value)
EnvironmentTemplate & WithDescription(DescriptionT &&value)
const Aws::String & GetDisplayName() const
EnvironmentTemplate & WithProvisioning(Provisioning value)
EnvironmentTemplate & WithEncryptionKey(EncryptionKeyT &&value)
void SetRecommendedVersion(RecommendedVersionT &&value)
void SetLastModifiedAt(LastModifiedAtT &&value)
EnvironmentTemplate & WithName(NameT &&value)
AWS_PROTON_API EnvironmentTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentTemplate & WithArn(ArnT &&value)
EnvironmentTemplate & WithLastModifiedAt(LastModifiedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
EnvironmentTemplate & WithDisplayName(DisplayNameT &&value)
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