AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
52 template<typename AccountIdT = Aws::String>
53 AccountRecommendationLifecycleSummary& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
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) { m_accountRecommendationArnHasBeenSet = true; m_accountRecommendationArn = std::forward<AccountRecommendationArnT>(value); }
64 template<typename AccountRecommendationArnT = Aws::String>
65 AccountRecommendationLifecycleSummary& WithAccountRecommendationArn(AccountRecommendationArnT&& value) { SetAccountRecommendationArn(std::forward<AccountRecommendationArnT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
73 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
74 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
75 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
76 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
77 AccountRecommendationLifecycleSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
79
81
84 inline RecommendationLifecycleStage GetLifecycleStage() const { return m_lifecycleStage; }
85 inline bool LifecycleStageHasBeenSet() const { return m_lifecycleStageHasBeenSet; }
86 inline void SetLifecycleStage(RecommendationLifecycleStage value) { m_lifecycleStageHasBeenSet = true; m_lifecycleStage = value; }
89
91
94 inline const Aws::String& GetUpdateReason() const { return m_updateReason; }
95 inline bool UpdateReasonHasBeenSet() const { return m_updateReasonHasBeenSet; }
96 template<typename UpdateReasonT = Aws::String>
97 void SetUpdateReason(UpdateReasonT&& value) { m_updateReasonHasBeenSet = true; m_updateReason = std::forward<UpdateReasonT>(value); }
98 template<typename UpdateReasonT = Aws::String>
99 AccountRecommendationLifecycleSummary& WithUpdateReason(UpdateReasonT&& value) { SetUpdateReason(std::forward<UpdateReasonT>(value)); return *this;}
101
103
106 inline UpdateRecommendationLifecycleStageReasonCode GetUpdateReasonCode() const { return m_updateReasonCode; }
107 inline bool UpdateReasonCodeHasBeenSet() const { return m_updateReasonCodeHasBeenSet; }
108 inline void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode value) { m_updateReasonCodeHasBeenSet = true; m_updateReasonCode = value; }
111
113
119 inline const Aws::String& GetUpdatedOnBehalfOf() const { return m_updatedOnBehalfOf; }
120 inline bool UpdatedOnBehalfOfHasBeenSet() const { return m_updatedOnBehalfOfHasBeenSet; }
121 template<typename UpdatedOnBehalfOfT = Aws::String>
122 void SetUpdatedOnBehalfOf(UpdatedOnBehalfOfT&& value) { m_updatedOnBehalfOfHasBeenSet = true; m_updatedOnBehalfOf = std::forward<UpdatedOnBehalfOfT>(value); }
123 template<typename UpdatedOnBehalfOfT = Aws::String>
124 AccountRecommendationLifecycleSummary& WithUpdatedOnBehalfOf(UpdatedOnBehalfOfT&& value) { SetUpdatedOnBehalfOf(std::forward<UpdatedOnBehalfOfT>(value)); return *this;}
126
128
134 inline const Aws::String& GetUpdatedOnBehalfOfJobTitle() const { return m_updatedOnBehalfOfJobTitle; }
135 inline bool UpdatedOnBehalfOfJobTitleHasBeenSet() const { return m_updatedOnBehalfOfJobTitleHasBeenSet; }
136 template<typename UpdatedOnBehalfOfJobTitleT = Aws::String>
137 void SetUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT&& value) { m_updatedOnBehalfOfJobTitleHasBeenSet = true; m_updatedOnBehalfOfJobTitle = std::forward<UpdatedOnBehalfOfJobTitleT>(value); }
138 template<typename UpdatedOnBehalfOfJobTitleT = Aws::String>
139 AccountRecommendationLifecycleSummary& WithUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT&& value) { SetUpdatedOnBehalfOfJobTitle(std::forward<UpdatedOnBehalfOfJobTitleT>(value)); return *this;}
141 private:
142
143 Aws::String m_accountId;
144 bool m_accountIdHasBeenSet = false;
145
146 Aws::String m_accountRecommendationArn;
147 bool m_accountRecommendationArnHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastUpdatedAt{};
150 bool m_lastUpdatedAtHasBeenSet = false;
151
153 bool m_lifecycleStageHasBeenSet = false;
154
155 Aws::String m_updateReason;
156 bool m_updateReasonHasBeenSet = false;
157
159 bool m_updateReasonCodeHasBeenSet = false;
160
161 Aws::String m_updatedOnBehalfOf;
162 bool m_updatedOnBehalfOfHasBeenSet = false;
163
164 Aws::String m_updatedOnBehalfOfJobTitle;
165 bool m_updatedOnBehalfOfJobTitleHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace TrustedAdvisor
170} // 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