AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 ServiceTemplate& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 template<typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 ServiceTemplate& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 ServiceTemplate& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
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 ServiceTemplate& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
90
92
96 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
97 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
98 template<typename EncryptionKeyT = Aws::String>
99 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
100 template<typename EncryptionKeyT = Aws::String>
101 ServiceTemplate& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
109 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
110 template<typename LastModifiedAtT = Aws::Utils::DateTime>
111 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
112 template<typename LastModifiedAtT = Aws::Utils::DateTime>
113 ServiceTemplate& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
115
117
120 inline const Aws::String& GetName() const { return m_name; }
121 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
122 template<typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
124 template<typename NameT = Aws::String>
125 ServiceTemplate& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
127
129
134 inline Provisioning GetPipelineProvisioning() const { return m_pipelineProvisioning; }
135 inline bool PipelineProvisioningHasBeenSet() const { return m_pipelineProvisioningHasBeenSet; }
136 inline void SetPipelineProvisioning(Provisioning value) { m_pipelineProvisioningHasBeenSet = true; m_pipelineProvisioning = value; }
139
141
144 inline const Aws::String& GetRecommendedVersion() const { return m_recommendedVersion; }
145 inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; }
146 template<typename RecommendedVersionT = Aws::String>
147 void SetRecommendedVersion(RecommendedVersionT&& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = std::forward<RecommendedVersionT>(value); }
148 template<typename RecommendedVersionT = Aws::String>
149 ServiceTemplate& WithRecommendedVersion(RecommendedVersionT&& value) { SetRecommendedVersion(std::forward<RecommendedVersionT>(value)); return *this;}
151 private:
152
153 Aws::String m_arn;
154 bool m_arnHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdAt{};
157 bool m_createdAtHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
162 Aws::String m_displayName;
163 bool m_displayNameHasBeenSet = false;
164
165 Aws::String m_encryptionKey;
166 bool m_encryptionKeyHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastModifiedAt{};
169 bool m_lastModifiedAtHasBeenSet = false;
170
171 Aws::String m_name;
172 bool m_nameHasBeenSet = false;
173
174 Provisioning m_pipelineProvisioning{Provisioning::NOT_SET};
175 bool m_pipelineProvisioningHasBeenSet = false;
176
177 Aws::String m_recommendedVersion;
178 bool m_recommendedVersionHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Proton
183} // namespace Aws
AWS_PROTON_API ServiceTemplate()=default
ServiceTemplate & WithDisplayName(DisplayNameT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
Provisioning GetPipelineProvisioning() const
void SetEncryptionKey(EncryptionKeyT &&value)
void SetDisplayName(DisplayNameT &&value)
ServiceTemplate & WithEncryptionKey(EncryptionKeyT &&value)
const Aws::String & GetArn() const
ServiceTemplate & WithName(NameT &&value)
AWS_PROTON_API ServiceTemplate(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedAt() const
ServiceTemplate & WithArn(ArnT &&value)
ServiceTemplate & WithRecommendedVersion(RecommendedVersionT &&value)
const Aws::String & GetRecommendedVersion() const
const Aws::String & GetDisplayName() const
const Aws::String & GetEncryptionKey() const
ServiceTemplate & WithPipelineProvisioning(Provisioning value)
void SetRecommendedVersion(RecommendedVersionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_PROTON_API ServiceTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplate & WithDescription(DescriptionT &&value)
ServiceTemplate & WithCreatedAt(CreatedAtT &&value)
ServiceTemplate & WithLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetName() const
void SetPipelineProvisioning(Provisioning value)
const Aws::String & GetDescription() const
void SetCreatedAt(CreatedAtT &&value)
void SetLastModifiedAt(LastModifiedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue