AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReviewTemplateSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/wellarchitected/model/ReviewTemplateUpdateStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace WellArchitected
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_WELLARCHITECTED_API ReviewTemplateSummary();
38 AWS_WELLARCHITECTED_API ReviewTemplateSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API ReviewTemplateSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDescription() const{ return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline ReviewTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline ReviewTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline ReviewTemplateSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetLenses() const{ return m_lenses; }
62 inline bool LensesHasBeenSet() const { return m_lensesHasBeenSet; }
63 inline void SetLenses(const Aws::Vector<Aws::String>& value) { m_lensesHasBeenSet = true; m_lenses = value; }
64 inline void SetLenses(Aws::Vector<Aws::String>&& value) { m_lensesHasBeenSet = true; m_lenses = std::move(value); }
65 inline ReviewTemplateSummary& WithLenses(const Aws::Vector<Aws::String>& value) { SetLenses(value); return *this;}
66 inline ReviewTemplateSummary& WithLenses(Aws::Vector<Aws::String>&& value) { SetLenses(std::move(value)); return *this;}
67 inline ReviewTemplateSummary& AddLenses(const Aws::String& value) { m_lensesHasBeenSet = true; m_lenses.push_back(value); return *this; }
68 inline ReviewTemplateSummary& AddLenses(Aws::String&& value) { m_lensesHasBeenSet = true; m_lenses.push_back(std::move(value)); return *this; }
69 inline ReviewTemplateSummary& AddLenses(const char* value) { m_lensesHasBeenSet = true; m_lenses.push_back(value); return *this; }
71
73
74 inline const Aws::String& GetOwner() const{ return m_owner; }
75 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
76 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
77 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
78 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
79 inline ReviewTemplateSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
80 inline ReviewTemplateSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
81 inline ReviewTemplateSummary& WithOwner(const char* value) { SetOwner(value); return *this;}
83
85
86 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
87 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
88 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
89 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
90 inline ReviewTemplateSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
91 inline ReviewTemplateSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
99 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
100 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
101 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
102 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
103 inline ReviewTemplateSummary& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
104 inline ReviewTemplateSummary& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
105 inline ReviewTemplateSummary& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
107
109
112 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
113 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
114 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
115 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
116 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
117 inline ReviewTemplateSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
118 inline ReviewTemplateSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
119 inline ReviewTemplateSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
121
123
126 inline const ReviewTemplateUpdateStatus& GetUpdateStatus() const{ return m_updateStatus; }
127 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
128 inline void SetUpdateStatus(const ReviewTemplateUpdateStatus& value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; }
129 inline void SetUpdateStatus(ReviewTemplateUpdateStatus&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::move(value); }
131 inline ReviewTemplateSummary& WithUpdateStatus(ReviewTemplateUpdateStatus&& value) { SetUpdateStatus(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_description;
136 bool m_descriptionHasBeenSet = false;
137
139 bool m_lensesHasBeenSet = false;
140
141 Aws::String m_owner;
142 bool m_ownerHasBeenSet = false;
143
144 Aws::Utils::DateTime m_updatedAt;
145 bool m_updatedAtHasBeenSet = false;
146
147 Aws::String m_templateArn;
148 bool m_templateArnHasBeenSet = false;
149
150 Aws::String m_templateName;
151 bool m_templateNameHasBeenSet = false;
152
153 ReviewTemplateUpdateStatus m_updateStatus;
154 bool m_updateStatusHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace WellArchitected
159} // namespace Aws
ReviewTemplateSummary & AddLenses(Aws::String &&value)
ReviewTemplateSummary & WithTemplateName(const char *value)
void SetLenses(Aws::Vector< Aws::String > &&value)
ReviewTemplateSummary & WithDescription(Aws::String &&value)
AWS_WELLARCHITECTED_API ReviewTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplateSummary & WithLenses(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetLenses() const
const ReviewTemplateUpdateStatus & GetUpdateStatus() const
void SetUpdateStatus(ReviewTemplateUpdateStatus &&value)
ReviewTemplateSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
ReviewTemplateSummary & WithTemplateName(Aws::String &&value)
AWS_WELLARCHITECTED_API ReviewTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplateSummary & WithTemplateName(const Aws::String &value)
ReviewTemplateSummary & WithLenses(Aws::Vector< Aws::String > &&value)
ReviewTemplateSummary & WithTemplateArn(const char *value)
void SetUpdateStatus(const ReviewTemplateUpdateStatus &value)
ReviewTemplateSummary & WithOwner(const char *value)
ReviewTemplateSummary & WithOwner(Aws::String &&value)
ReviewTemplateSummary & WithUpdateStatus(ReviewTemplateUpdateStatus &&value)
ReviewTemplateSummary & WithTemplateArn(Aws::String &&value)
ReviewTemplateSummary & WithTemplateArn(const Aws::String &value)
ReviewTemplateSummary & WithDescription(const char *value)
ReviewTemplateSummary & AddLenses(const char *value)
ReviewTemplateSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
ReviewTemplateSummary & WithDescription(const Aws::String &value)
void SetLenses(const Aws::Vector< Aws::String > &value)
ReviewTemplateSummary & WithUpdateStatus(const ReviewTemplateUpdateStatus &value)
ReviewTemplateSummary & WithOwner(const Aws::String &value)
ReviewTemplateSummary & AddLenses(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue