AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
AccountRecommendationLifecycleSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
10#include <aws/trustedadvisor/model/RecommendationLifecycleStage.h>
11#include <aws/trustedadvisor/model/UpdateRecommendationLifecycleStageReasonCode.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TrustedAdvisor {
23namespace Model {
24
32 public:
33 AWS_TRUSTEDADVISOR_API AccountRecommendationLifecycleSummary() = default;
36 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetAccountId() const { return m_accountId; }
43 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
44 template <typename AccountIdT = Aws::String>
45 void SetAccountId(AccountIdT&& value) {
46 m_accountIdHasBeenSet = true;
47 m_accountId = std::forward<AccountIdT>(value);
48 }
49 template <typename AccountIdT = Aws::String>
51 SetAccountId(std::forward<AccountIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetAccountRecommendationArn() const { return m_accountRecommendationArn; }
61 inline bool AccountRecommendationArnHasBeenSet() const { return m_accountRecommendationArnHasBeenSet; }
62 template <typename AccountRecommendationArnT = Aws::String>
63 void SetAccountRecommendationArn(AccountRecommendationArnT&& value) {
64 m_accountRecommendationArnHasBeenSet = true;
65 m_accountRecommendationArn = std::forward<AccountRecommendationArnT>(value);
66 }
67 template <typename AccountRecommendationArnT = Aws::String>
69 SetAccountRecommendationArn(std::forward<AccountRecommendationArnT>(value));
70 return *this;
71 }
73
75
78 inline RecommendationLifecycleStage GetLifecycleStage() const { return m_lifecycleStage; }
79 inline bool LifecycleStageHasBeenSet() const { return m_lifecycleStageHasBeenSet; }
81 m_lifecycleStageHasBeenSet = true;
82 m_lifecycleStage = value;
83 }
89
91
97 inline const Aws::String& GetUpdatedOnBehalfOf() const { return m_updatedOnBehalfOf; }
98 inline bool UpdatedOnBehalfOfHasBeenSet() const { return m_updatedOnBehalfOfHasBeenSet; }
99 template <typename UpdatedOnBehalfOfT = Aws::String>
100 void SetUpdatedOnBehalfOf(UpdatedOnBehalfOfT&& value) {
101 m_updatedOnBehalfOfHasBeenSet = true;
102 m_updatedOnBehalfOf = std::forward<UpdatedOnBehalfOfT>(value);
103 }
104 template <typename UpdatedOnBehalfOfT = Aws::String>
106 SetUpdatedOnBehalfOf(std::forward<UpdatedOnBehalfOfT>(value));
107 return *this;
108 }
110
112
118 inline const Aws::String& GetUpdatedOnBehalfOfJobTitle() const { return m_updatedOnBehalfOfJobTitle; }
119 inline bool UpdatedOnBehalfOfJobTitleHasBeenSet() const { return m_updatedOnBehalfOfJobTitleHasBeenSet; }
120 template <typename UpdatedOnBehalfOfJobTitleT = Aws::String>
121 void SetUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT&& value) {
122 m_updatedOnBehalfOfJobTitleHasBeenSet = true;
123 m_updatedOnBehalfOfJobTitle = std::forward<UpdatedOnBehalfOfJobTitleT>(value);
124 }
125 template <typename UpdatedOnBehalfOfJobTitleT = Aws::String>
127 SetUpdatedOnBehalfOfJobTitle(std::forward<UpdatedOnBehalfOfJobTitleT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetUpdateReason() const { return m_updateReason; }
137 inline bool UpdateReasonHasBeenSet() const { return m_updateReasonHasBeenSet; }
138 template <typename UpdateReasonT = Aws::String>
139 void SetUpdateReason(UpdateReasonT&& value) {
140 m_updateReasonHasBeenSet = true;
141 m_updateReason = std::forward<UpdateReasonT>(value);
142 }
143 template <typename UpdateReasonT = Aws::String>
145 SetUpdateReason(std::forward<UpdateReasonT>(value));
146 return *this;
147 }
149
151
154 inline UpdateRecommendationLifecycleStageReasonCode GetUpdateReasonCode() const { return m_updateReasonCode; }
155 inline bool UpdateReasonCodeHasBeenSet() const { return m_updateReasonCodeHasBeenSet; }
157 m_updateReasonCodeHasBeenSet = true;
158 m_updateReasonCode = value;
159 }
165
167
170 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
171 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
172 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
173 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
174 m_lastUpdatedAtHasBeenSet = true;
175 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
176 }
177 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
179 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
180 return *this;
181 }
183 private:
184 Aws::String m_accountId;
185
186 Aws::String m_accountRecommendationArn;
187
189
190 Aws::String m_updatedOnBehalfOf;
191
192 Aws::String m_updatedOnBehalfOfJobTitle;
193
194 Aws::String m_updateReason;
195
197
198 Aws::Utils::DateTime m_lastUpdatedAt{};
199 bool m_accountIdHasBeenSet = false;
200 bool m_accountRecommendationArnHasBeenSet = false;
201 bool m_lifecycleStageHasBeenSet = false;
202 bool m_updatedOnBehalfOfHasBeenSet = false;
203 bool m_updatedOnBehalfOfJobTitleHasBeenSet = false;
204 bool m_updateReasonHasBeenSet = false;
205 bool m_updateReasonCodeHasBeenSet = false;
206 bool m_lastUpdatedAtHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace TrustedAdvisor
211} // namespace Aws
AccountRecommendationLifecycleSummary & WithUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode value)
AWS_TRUSTEDADVISOR_API AccountRecommendationLifecycleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountRecommendationLifecycleSummary & WithLifecycleStage(RecommendationLifecycleStage value)
AccountRecommendationLifecycleSummary & WithUpdatedOnBehalfOf(UpdatedOnBehalfOfT &&value)
AccountRecommendationLifecycleSummary & WithUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT &&value)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
AccountRecommendationLifecycleSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
AccountRecommendationLifecycleSummary & WithAccountRecommendationArn(AccountRecommendationArnT &&value)
AWS_TRUSTEDADVISOR_API AccountRecommendationLifecycleSummary(Aws::Utils::Json::JsonView jsonValue)
AccountRecommendationLifecycleSummary & WithAccountId(AccountIdT &&value)
AWS_TRUSTEDADVISOR_API AccountRecommendationLifecycleSummary()=default
AccountRecommendationLifecycleSummary & WithUpdateReason(UpdateReasonT &&value)
void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue