AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceTemplate.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
35 {
36 public:
37 AWS_PROTON_API ServiceTemplate();
40 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ServiceTemplate& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ServiceTemplate& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ServiceTemplate& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
62 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
63 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
64 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
65 inline ServiceTemplate& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
66 inline ServiceTemplate& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline ServiceTemplate& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline ServiceTemplate& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ServiceTemplate& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
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 ServiceTemplate& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
93 inline ServiceTemplate& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
94 inline ServiceTemplate& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
96
98
102 inline const Aws::String& GetEncryptionKey() const{ return m_encryptionKey; }
103 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
104 inline void SetEncryptionKey(const Aws::String& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
105 inline void SetEncryptionKey(Aws::String&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
106 inline void SetEncryptionKey(const char* value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey.assign(value); }
107 inline ServiceTemplate& WithEncryptionKey(const Aws::String& value) { SetEncryptionKey(value); return *this;}
108 inline ServiceTemplate& WithEncryptionKey(Aws::String&& value) { SetEncryptionKey(std::move(value)); return *this;}
109 inline ServiceTemplate& WithEncryptionKey(const char* value) { SetEncryptionKey(value); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
117 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
118 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
119 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
120 inline ServiceTemplate& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;}
121 inline ServiceTemplate& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetName() const{ return m_name; }
129 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
130 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
131 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
132 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
133 inline ServiceTemplate& WithName(const Aws::String& value) { SetName(value); return *this;}
134 inline ServiceTemplate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
135 inline ServiceTemplate& WithName(const char* value) { SetName(value); return *this;}
137
139
144 inline const Provisioning& GetPipelineProvisioning() const{ return m_pipelineProvisioning; }
145 inline bool PipelineProvisioningHasBeenSet() const { return m_pipelineProvisioningHasBeenSet; }
146 inline void SetPipelineProvisioning(const Provisioning& value) { m_pipelineProvisioningHasBeenSet = true; m_pipelineProvisioning = value; }
147 inline void SetPipelineProvisioning(Provisioning&& value) { m_pipelineProvisioningHasBeenSet = true; m_pipelineProvisioning = std::move(value); }
149 inline ServiceTemplate& WithPipelineProvisioning(Provisioning&& value) { SetPipelineProvisioning(std::move(value)); return *this;}
151
153
156 inline const Aws::String& GetRecommendedVersion() const{ return m_recommendedVersion; }
157 inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; }
158 inline void SetRecommendedVersion(const Aws::String& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = value; }
159 inline void SetRecommendedVersion(Aws::String&& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = std::move(value); }
160 inline void SetRecommendedVersion(const char* value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion.assign(value); }
161 inline ServiceTemplate& WithRecommendedVersion(const Aws::String& value) { SetRecommendedVersion(value); return *this;}
162 inline ServiceTemplate& WithRecommendedVersion(Aws::String&& value) { SetRecommendedVersion(std::move(value)); return *this;}
163 inline ServiceTemplate& WithRecommendedVersion(const char* value) { SetRecommendedVersion(value); return *this;}
165 private:
166
167 Aws::String m_arn;
168 bool m_arnHasBeenSet = false;
169
170 Aws::Utils::DateTime m_createdAt;
171 bool m_createdAtHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 Aws::String m_displayName;
177 bool m_displayNameHasBeenSet = false;
178
179 Aws::String m_encryptionKey;
180 bool m_encryptionKeyHasBeenSet = false;
181
182 Aws::Utils::DateTime m_lastModifiedAt;
183 bool m_lastModifiedAtHasBeenSet = false;
184
185 Aws::String m_name;
186 bool m_nameHasBeenSet = false;
187
188 Provisioning m_pipelineProvisioning;
189 bool m_pipelineProvisioningHasBeenSet = false;
190
191 Aws::String m_recommendedVersion;
192 bool m_recommendedVersionHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace Proton
197} // namespace Aws
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
ServiceTemplate & WithDescription(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ServiceTemplate & WithName(Aws::String &&value)
ServiceTemplate & WithArn(const Aws::String &value)
void SetEncryptionKey(const char *value)
ServiceTemplate & WithLastModifiedAt(const Aws::Utils::DateTime &value)
ServiceTemplate & WithName(const char *value)
void SetEncryptionKey(Aws::String &&value)
ServiceTemplate & WithPipelineProvisioning(Provisioning &&value)
void SetArn(const Aws::String &value)
ServiceTemplate & WithLastModifiedAt(Aws::Utils::DateTime &&value)
ServiceTemplate & WithEncryptionKey(const char *value)
ServiceTemplate & WithArn(const char *value)
void SetEncryptionKey(const Aws::String &value)
ServiceTemplate & WithDescription(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
AWS_PROTON_API ServiceTemplate(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplate & WithRecommendedVersion(const char *value)
ServiceTemplate & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDisplayName(const Aws::String &value)
ServiceTemplate & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
void SetDisplayName(Aws::String &&value)
ServiceTemplate & WithArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetRecommendedVersion(const char *value)
const Aws::String & GetRecommendedVersion() const
const Aws::String & GetDisplayName() const
void SetDisplayName(const char *value)
void SetName(const Aws::String &value)
ServiceTemplate & WithEncryptionKey(const Aws::String &value)
const Aws::String & GetEncryptionKey() const
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
ServiceTemplate & WithRecommendedVersion(Aws::String &&value)
void SetDescription(Aws::String &&value)
ServiceTemplate & WithName(const Aws::String &value)
ServiceTemplate & WithPipelineProvisioning(const Provisioning &value)
ServiceTemplate & WithDescription(const char *value)
void SetDescription(const char *value)
ServiceTemplate & WithDisplayName(const char *value)
ServiceTemplate & WithDisplayName(Aws::String &&value)
ServiceTemplate & WithRecommendedVersion(const Aws::String &value)
const Provisioning & GetPipelineProvisioning() const
ServiceTemplate & WithDisplayName(const Aws::String &value)
ServiceTemplate & WithEncryptionKey(Aws::String &&value)
void SetPipelineProvisioning(const Provisioning &value)
void SetArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetPipelineProvisioning(Provisioning &&value)
AWS_PROTON_API ServiceTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
void SetName(Aws::String &&value)
void SetRecommendedVersion(const Aws::String &value)
void SetRecommendedVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue