AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 ServiceTemplateSummary& 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 ServiceTemplateSummary& 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 ServiceTemplateSummary& 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 ServiceTemplateSummary& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
96 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
97 template<typename LastModifiedAtT = Aws::Utils::DateTime>
98 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
99 template<typename LastModifiedAtT = Aws::Utils::DateTime>
100 ServiceTemplateSummary& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
102
104
107 inline const Aws::String& GetName() const { return m_name; }
108 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
109 template<typename NameT = Aws::String>
110 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
111 template<typename NameT = Aws::String>
112 ServiceTemplateSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
114
116
121 inline Provisioning GetPipelineProvisioning() const { return m_pipelineProvisioning; }
122 inline bool PipelineProvisioningHasBeenSet() const { return m_pipelineProvisioningHasBeenSet; }
123 inline void SetPipelineProvisioning(Provisioning value) { m_pipelineProvisioningHasBeenSet = true; m_pipelineProvisioning = value; }
126
128
131 inline const Aws::String& GetRecommendedVersion() const { return m_recommendedVersion; }
132 inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; }
133 template<typename RecommendedVersionT = Aws::String>
134 void SetRecommendedVersion(RecommendedVersionT&& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = std::forward<RecommendedVersionT>(value); }
135 template<typename RecommendedVersionT = Aws::String>
136 ServiceTemplateSummary& WithRecommendedVersion(RecommendedVersionT&& value) { SetRecommendedVersion(std::forward<RecommendedVersionT>(value)); return *this;}
138 private:
139
140 Aws::String m_arn;
141 bool m_arnHasBeenSet = false;
142
143 Aws::Utils::DateTime m_createdAt{};
144 bool m_createdAtHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 Aws::String m_displayName;
150 bool m_displayNameHasBeenSet = false;
151
152 Aws::Utils::DateTime m_lastModifiedAt{};
153 bool m_lastModifiedAtHasBeenSet = false;
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
158 Provisioning m_pipelineProvisioning{Provisioning::NOT_SET};
159 bool m_pipelineProvisioningHasBeenSet = false;
160
161 Aws::String m_recommendedVersion;
162 bool m_recommendedVersionHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace Proton
167} // namespace Aws
AWS_PROTON_API ServiceTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplateSummary & WithArn(ArnT &&value)
ServiceTemplateSummary & WithPipelineProvisioning(Provisioning value)
ServiceTemplateSummary & WithDisplayName(DisplayNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
ServiceTemplateSummary & WithName(NameT &&value)
ServiceTemplateSummary & WithLastModifiedAt(LastModifiedAtT &&value)
AWS_PROTON_API ServiceTemplateSummary()=default
ServiceTemplateSummary & WithRecommendedVersion(RecommendedVersionT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecommendedVersion(RecommendedVersionT &&value)
ServiceTemplateSummary & WithCreatedAt(CreatedAtT &&value)
ServiceTemplateSummary & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_PROTON_API ServiceTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue