AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountRecommendationLifecycleSummary.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/trustedadvisor/model/RecommendationLifecycleStage.h>
11#include <aws/trustedadvisor/model/UpdateRecommendationLifecycleStageReasonCode.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 TrustedAdvisor
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_TRUSTEDADVISOR_API AccountRecommendationLifecycleSummary();
41 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline AccountRecommendationLifecycleSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline AccountRecommendationLifecycleSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline AccountRecommendationLifecycleSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::String& GetAccountRecommendationArn() const{ return m_accountRecommendationArn; }
63 inline bool AccountRecommendationArnHasBeenSet() const { return m_accountRecommendationArnHasBeenSet; }
64 inline void SetAccountRecommendationArn(const Aws::String& value) { m_accountRecommendationArnHasBeenSet = true; m_accountRecommendationArn = value; }
65 inline void SetAccountRecommendationArn(Aws::String&& value) { m_accountRecommendationArnHasBeenSet = true; m_accountRecommendationArn = std::move(value); }
66 inline void SetAccountRecommendationArn(const char* value) { m_accountRecommendationArnHasBeenSet = true; m_accountRecommendationArn.assign(value); }
71
73
76 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
77 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
78 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
79 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
83
85
88 inline const RecommendationLifecycleStage& GetLifecycleStage() const{ return m_lifecycleStage; }
89 inline bool LifecycleStageHasBeenSet() const { return m_lifecycleStageHasBeenSet; }
90 inline void SetLifecycleStage(const RecommendationLifecycleStage& value) { m_lifecycleStageHasBeenSet = true; m_lifecycleStage = value; }
91 inline void SetLifecycleStage(RecommendationLifecycleStage&& value) { m_lifecycleStageHasBeenSet = true; m_lifecycleStage = std::move(value); }
95
97
100 inline const Aws::String& GetUpdateReason() const{ return m_updateReason; }
101 inline bool UpdateReasonHasBeenSet() const { return m_updateReasonHasBeenSet; }
102 inline void SetUpdateReason(const Aws::String& value) { m_updateReasonHasBeenSet = true; m_updateReason = value; }
103 inline void SetUpdateReason(Aws::String&& value) { m_updateReasonHasBeenSet = true; m_updateReason = std::move(value); }
104 inline void SetUpdateReason(const char* value) { m_updateReasonHasBeenSet = true; m_updateReason.assign(value); }
106 inline AccountRecommendationLifecycleSummary& WithUpdateReason(Aws::String&& value) { SetUpdateReason(std::move(value)); return *this;}
107 inline AccountRecommendationLifecycleSummary& WithUpdateReason(const char* value) { SetUpdateReason(value); return *this;}
109
111
114 inline const UpdateRecommendationLifecycleStageReasonCode& GetUpdateReasonCode() const{ return m_updateReasonCode; }
115 inline bool UpdateReasonCodeHasBeenSet() const { return m_updateReasonCodeHasBeenSet; }
116 inline void SetUpdateReasonCode(const UpdateRecommendationLifecycleStageReasonCode& value) { m_updateReasonCodeHasBeenSet = true; m_updateReasonCode = value; }
117 inline void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode&& value) { m_updateReasonCodeHasBeenSet = true; m_updateReasonCode = std::move(value); }
121
123
129 inline const Aws::String& GetUpdatedOnBehalfOf() const{ return m_updatedOnBehalfOf; }
130 inline bool UpdatedOnBehalfOfHasBeenSet() const { return m_updatedOnBehalfOfHasBeenSet; }
131 inline void SetUpdatedOnBehalfOf(const Aws::String& value) { m_updatedOnBehalfOfHasBeenSet = true; m_updatedOnBehalfOf = value; }
132 inline void SetUpdatedOnBehalfOf(Aws::String&& value) { m_updatedOnBehalfOfHasBeenSet = true; m_updatedOnBehalfOf = std::move(value); }
133 inline void SetUpdatedOnBehalfOf(const char* value) { m_updatedOnBehalfOfHasBeenSet = true; m_updatedOnBehalfOf.assign(value); }
136 inline AccountRecommendationLifecycleSummary& WithUpdatedOnBehalfOf(const char* value) { SetUpdatedOnBehalfOf(value); return *this;}
138
140
146 inline const Aws::String& GetUpdatedOnBehalfOfJobTitle() const{ return m_updatedOnBehalfOfJobTitle; }
147 inline bool UpdatedOnBehalfOfJobTitleHasBeenSet() const { return m_updatedOnBehalfOfJobTitleHasBeenSet; }
148 inline void SetUpdatedOnBehalfOfJobTitle(const Aws::String& value) { m_updatedOnBehalfOfJobTitleHasBeenSet = true; m_updatedOnBehalfOfJobTitle = value; }
149 inline void SetUpdatedOnBehalfOfJobTitle(Aws::String&& value) { m_updatedOnBehalfOfJobTitleHasBeenSet = true; m_updatedOnBehalfOfJobTitle = std::move(value); }
150 inline void SetUpdatedOnBehalfOfJobTitle(const char* value) { m_updatedOnBehalfOfJobTitleHasBeenSet = true; m_updatedOnBehalfOfJobTitle.assign(value); }
155 private:
156
157 Aws::String m_accountId;
158 bool m_accountIdHasBeenSet = false;
159
160 Aws::String m_accountRecommendationArn;
161 bool m_accountRecommendationArnHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdatedAt;
164 bool m_lastUpdatedAtHasBeenSet = false;
165
166 RecommendationLifecycleStage m_lifecycleStage;
167 bool m_lifecycleStageHasBeenSet = false;
168
169 Aws::String m_updateReason;
170 bool m_updateReasonHasBeenSet = false;
171
173 bool m_updateReasonCodeHasBeenSet = false;
174
175 Aws::String m_updatedOnBehalfOf;
176 bool m_updatedOnBehalfOfHasBeenSet = false;
177
178 Aws::String m_updatedOnBehalfOfJobTitle;
179 bool m_updatedOnBehalfOfJobTitleHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace TrustedAdvisor
184} // namespace Aws
AccountRecommendationLifecycleSummary & WithAccountId(const char *value)
void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode &&value)
AWS_TRUSTEDADVISOR_API AccountRecommendationLifecycleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const UpdateRecommendationLifecycleStageReasonCode & GetUpdateReasonCode() const
AccountRecommendationLifecycleSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
AccountRecommendationLifecycleSummary & WithUpdateReason(const char *value)
AccountRecommendationLifecycleSummary & WithLifecycleStage(const RecommendationLifecycleStage &value)
AccountRecommendationLifecycleSummary & WithUpdatedOnBehalfOfJobTitle(Aws::String &&value)
AccountRecommendationLifecycleSummary & WithAccountId(Aws::String &&value)
AccountRecommendationLifecycleSummary & WithUpdatedOnBehalfOfJobTitle(const char *value)
AccountRecommendationLifecycleSummary & WithAccountRecommendationArn(const char *value)
AccountRecommendationLifecycleSummary & WithUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode &&value)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdateReasonCode(const UpdateRecommendationLifecycleStageReasonCode &value)
AccountRecommendationLifecycleSummary & WithAccountRecommendationArn(const Aws::String &value)
AccountRecommendationLifecycleSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
AccountRecommendationLifecycleSummary & WithUpdatedOnBehalfOf(Aws::String &&value)
AccountRecommendationLifecycleSummary & WithUpdateReason(const Aws::String &value)
AccountRecommendationLifecycleSummary & WithLifecycleStage(RecommendationLifecycleStage &&value)
AccountRecommendationLifecycleSummary & WithUpdatedOnBehalfOf(const Aws::String &value)
AccountRecommendationLifecycleSummary & WithUpdatedOnBehalfOfJobTitle(const Aws::String &value)
AWS_TRUSTEDADVISOR_API AccountRecommendationLifecycleSummary(Aws::Utils::Json::JsonView jsonValue)
AccountRecommendationLifecycleSummary & WithAccountRecommendationArn(Aws::String &&value)
AccountRecommendationLifecycleSummary & WithUpdatedOnBehalfOf(const char *value)
AccountRecommendationLifecycleSummary & WithUpdateReasonCode(const UpdateRecommendationLifecycleStageReasonCode &value)
AccountRecommendationLifecycleSummary & WithAccountId(const Aws::String &value)
AccountRecommendationLifecycleSummary & WithUpdateReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue