AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentTemplateSummary.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:
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 EnvironmentTemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline EnvironmentTemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline EnvironmentTemplateSummary& 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 EnvironmentTemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline EnvironmentTemplateSummary& 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 EnvironmentTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline EnvironmentTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline EnvironmentTemplateSummary& 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 EnvironmentTemplateSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
93 inline EnvironmentTemplateSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
94 inline EnvironmentTemplateSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
102 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
103 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
104 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
106 inline EnvironmentTemplateSummary& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetName() const{ return m_name; }
114 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
115 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
116 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
117 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
118 inline EnvironmentTemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
119 inline EnvironmentTemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 inline EnvironmentTemplateSummary& WithName(const char* value) { SetName(value); return *this;}
122
124
128 inline const Provisioning& GetProvisioning() const{ return m_provisioning; }
129 inline bool ProvisioningHasBeenSet() const { return m_provisioningHasBeenSet; }
130 inline void SetProvisioning(const Provisioning& value) { m_provisioningHasBeenSet = true; m_provisioning = value; }
131 inline void SetProvisioning(Provisioning&& value) { m_provisioningHasBeenSet = true; m_provisioning = std::move(value); }
132 inline EnvironmentTemplateSummary& WithProvisioning(const Provisioning& value) { SetProvisioning(value); return *this;}
133 inline EnvironmentTemplateSummary& WithProvisioning(Provisioning&& value) { SetProvisioning(std::move(value)); return *this;}
135
137
140 inline const Aws::String& GetRecommendedVersion() const{ return m_recommendedVersion; }
141 inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; }
142 inline void SetRecommendedVersion(const Aws::String& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = value; }
143 inline void SetRecommendedVersion(Aws::String&& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = std::move(value); }
144 inline void SetRecommendedVersion(const char* value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion.assign(value); }
146 inline EnvironmentTemplateSummary& WithRecommendedVersion(Aws::String&& value) { SetRecommendedVersion(std::move(value)); return *this;}
147 inline EnvironmentTemplateSummary& WithRecommendedVersion(const char* value) { SetRecommendedVersion(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::Utils::DateTime m_lastModifiedAt;
164 bool m_lastModifiedAtHasBeenSet = false;
165
166 Aws::String m_name;
167 bool m_nameHasBeenSet = false;
168
169 Provisioning m_provisioning;
170 bool m_provisioningHasBeenSet = false;
171
172 Aws::String m_recommendedVersion;
173 bool m_recommendedVersionHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Proton
178} // namespace Aws
EnvironmentTemplateSummary & WithName(const Aws::String &value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateSummary & WithDisplayName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
EnvironmentTemplateSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
EnvironmentTemplateSummary & WithArn(const Aws::String &value)
EnvironmentTemplateSummary & WithDescription(Aws::String &&value)
EnvironmentTemplateSummary & WithArn(Aws::String &&value)
EnvironmentTemplateSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
EnvironmentTemplateSummary & WithProvisioning(Provisioning &&value)
EnvironmentTemplateSummary & WithDescription(const Aws::String &value)
EnvironmentTemplateSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateSummary & WithProvisioning(const Provisioning &value)
EnvironmentTemplateSummary & WithName(Aws::String &&value)
EnvironmentTemplateSummary & WithDescription(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
EnvironmentTemplateSummary & WithDisplayName(Aws::String &&value)
AWS_PROTON_API EnvironmentTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentTemplateSummary & WithRecommendedVersion(Aws::String &&value)
EnvironmentTemplateSummary & WithDisplayName(const char *value)
AWS_PROTON_API EnvironmentTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentTemplateSummary & WithRecommendedVersion(const Aws::String &value)
EnvironmentTemplateSummary & WithRecommendedVersion(const char *value)
EnvironmentTemplateSummary & WithArn(const char *value)
EnvironmentTemplateSummary & WithName(const char *value)
EnvironmentTemplateSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue