AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
AgentRecommendationItemSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/RecommendationItemType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected {
23namespace Model {
24
33 public:
34 AWS_WELLARCHITECTED_API AgentRecommendationItemSummary() = default;
37 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetRecommendationArn() const { return m_recommendationArn; }
62 inline bool RecommendationArnHasBeenSet() const { return m_recommendationArnHasBeenSet; }
63 template <typename RecommendationArnT = Aws::String>
64 void SetRecommendationArn(RecommendationArnT&& value) {
65 m_recommendationArnHasBeenSet = true;
66 m_recommendationArn = std::forward<RecommendationArnT>(value);
67 }
68 template <typename RecommendationArnT = Aws::String>
70 SetRecommendationArn(std::forward<RecommendationArnT>(value));
71 return *this;
72 }
74
76
79 inline RecommendationItemType GetType() const { return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 inline void SetType(RecommendationItemType value) {
82 m_typeHasBeenSet = true;
83 m_type = value;
84 }
86 SetType(value);
87 return *this;
88 }
90
92
96 inline Aws::Utils::DocumentView GetMetadata() const { return m_metadata; }
97 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
98 template <typename MetadataT = Aws::Utils::Document>
99 void SetMetadata(MetadataT&& value) {
100 m_metadataHasBeenSet = true;
101 m_metadata = std::forward<MetadataT>(value);
102 }
103 template <typename MetadataT = Aws::Utils::Document>
105 SetMetadata(std::forward<MetadataT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
116 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
117 template <typename CreatedByT = Aws::String>
118 void SetCreatedBy(CreatedByT&& value) {
119 m_createdByHasBeenSet = true;
120 m_createdBy = std::forward<CreatedByT>(value);
121 }
122 template <typename CreatedByT = Aws::String>
124 SetCreatedBy(std::forward<CreatedByT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
134 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
135 template <typename CreatedAtT = Aws::Utils::DateTime>
136 void SetCreatedAt(CreatedAtT&& value) {
137 m_createdAtHasBeenSet = true;
138 m_createdAt = std::forward<CreatedAtT>(value);
139 }
140 template <typename CreatedAtT = Aws::Utils::DateTime>
142 SetCreatedAt(std::forward<CreatedAtT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
153 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
154 template <typename LastModifiedByT = Aws::String>
155 void SetLastModifiedBy(LastModifiedByT&& value) {
156 m_lastModifiedByHasBeenSet = true;
157 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
158 }
159 template <typename LastModifiedByT = Aws::String>
161 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
171 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
172 template <typename LastModifiedAtT = Aws::Utils::DateTime>
173 void SetLastModifiedAt(LastModifiedAtT&& value) {
174 m_lastModifiedAtHasBeenSet = true;
175 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
176 }
177 template <typename LastModifiedAtT = Aws::Utils::DateTime>
179 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
180 return *this;
181 }
183 private:
184 Aws::String m_id;
185
186 Aws::String m_recommendationArn;
187
189
190 Aws::Utils::Document m_metadata;
191
192 Aws::String m_createdBy;
193
194 Aws::Utils::DateTime m_createdAt{};
195
196 Aws::String m_lastModifiedBy;
197
198 Aws::Utils::DateTime m_lastModifiedAt{};
199 bool m_idHasBeenSet = false;
200 bool m_recommendationArnHasBeenSet = false;
201 bool m_typeHasBeenSet = false;
202 bool m_metadataHasBeenSet = false;
203 bool m_createdByHasBeenSet = false;
204 bool m_createdAtHasBeenSet = false;
205 bool m_lastModifiedByHasBeenSet = false;
206 bool m_lastModifiedAtHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace WellArchitected
211} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AgentRecommendationItemSummary & WithRecommendationArn(RecommendationArnT &&value)
AgentRecommendationItemSummary & WithCreatedBy(CreatedByT &&value)
AWS_WELLARCHITECTED_API AgentRecommendationItemSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentRecommendationItemSummary & WithType(RecommendationItemType value)
AWS_WELLARCHITECTED_API AgentRecommendationItemSummary()=default
AWS_WELLARCHITECTED_API AgentRecommendationItemSummary(Aws::Utils::Json::JsonView jsonValue)
AgentRecommendationItemSummary & WithCreatedAt(CreatedAtT &&value)
AgentRecommendationItemSummary & WithLastModifiedBy(LastModifiedByT &&value)
AgentRecommendationItemSummary & WithLastModifiedAt(LastModifiedAtT &&value)
AgentRecommendationItemSummary & WithMetadata(MetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue