AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceTemplateSummary.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 ServiceTemplateSummary();
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 ServiceTemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ServiceTemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ServiceTemplateSummary& 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 ServiceTemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
66 inline ServiceTemplateSummary& 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 ServiceTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline ServiceTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ServiceTemplateSummary& 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 ServiceTemplateSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
93 inline ServiceTemplateSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
94 inline ServiceTemplateSummary& 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 ServiceTemplateSummary& 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 ServiceTemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
119 inline ServiceTemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 inline ServiceTemplateSummary& WithName(const char* value) { SetName(value); return *this;}
122
124
129 inline const Provisioning& GetPipelineProvisioning() const{ return m_pipelineProvisioning; }
130 inline bool PipelineProvisioningHasBeenSet() const { return m_pipelineProvisioningHasBeenSet; }
131 inline void SetPipelineProvisioning(const Provisioning& value) { m_pipelineProvisioningHasBeenSet = true; m_pipelineProvisioning = value; }
132 inline void SetPipelineProvisioning(Provisioning&& value) { m_pipelineProvisioningHasBeenSet = true; m_pipelineProvisioning = std::move(value); }
134 inline ServiceTemplateSummary& WithPipelineProvisioning(Provisioning&& value) { SetPipelineProvisioning(std::move(value)); return *this;}
136
138
141 inline const Aws::String& GetRecommendedVersion() const{ return m_recommendedVersion; }
142 inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; }
143 inline void SetRecommendedVersion(const Aws::String& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = value; }
144 inline void SetRecommendedVersion(Aws::String&& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = std::move(value); }
145 inline void SetRecommendedVersion(const char* value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion.assign(value); }
147 inline ServiceTemplateSummary& WithRecommendedVersion(Aws::String&& value) { SetRecommendedVersion(std::move(value)); return *this;}
148 inline ServiceTemplateSummary& WithRecommendedVersion(const char* value) { SetRecommendedVersion(value); return *this;}
150 private:
151
152 Aws::String m_arn;
153 bool m_arnHasBeenSet = false;
154
155 Aws::Utils::DateTime m_createdAt;
156 bool m_createdAtHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160
161 Aws::String m_displayName;
162 bool m_displayNameHasBeenSet = false;
163
164 Aws::Utils::DateTime m_lastModifiedAt;
165 bool m_lastModifiedAtHasBeenSet = false;
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 Provisioning m_pipelineProvisioning;
171 bool m_pipelineProvisioningHasBeenSet = false;
172
173 Aws::String m_recommendedVersion;
174 bool m_recommendedVersionHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace Proton
179} // namespace Aws
ServiceTemplateSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
AWS_PROTON_API ServiceTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplateSummary & WithArn(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ServiceTemplateSummary & WithDisplayName(const Aws::String &value)
ServiceTemplateSummary & WithRecommendedVersion(const Aws::String &value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
ServiceTemplateSummary & WithRecommendedVersion(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
ServiceTemplateSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
ServiceTemplateSummary & WithDescription(const Aws::String &value)
ServiceTemplateSummary & WithPipelineProvisioning(Provisioning &&value)
void SetPipelineProvisioning(const Provisioning &value)
ServiceTemplateSummary & WithName(const Aws::String &value)
ServiceTemplateSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceTemplateSummary & WithName(Aws::String &&value)
ServiceTemplateSummary & WithDescription(const char *value)
ServiceTemplateSummary & WithDisplayName(Aws::String &&value)
ServiceTemplateSummary & WithRecommendedVersion(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceTemplateSummary & WithDisplayName(const char *value)
ServiceTemplateSummary & WithPipelineProvisioning(const Provisioning &value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
ServiceTemplateSummary & WithArn(const Aws::String &value)
ServiceTemplateSummary & WithName(const char *value)
ServiceTemplateSummary & WithArn(Aws::String &&value)
ServiceTemplateSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
AWS_PROTON_API ServiceTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplateSummary & WithDescription(Aws::String &&value)
void SetRecommendedVersion(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue