7#include <aws/freetier/FreeTier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/freetier/model/ActivityStatus.h>
10#include <aws/freetier/model/ActivityReward.h>
11#include <aws/core/utils/DateTime.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ActivityIdT = Aws::String>
44 void SetActivityId(ActivityIdT&& value) { m_activityIdHasBeenSet =
true; m_activityId = std::forward<ActivityIdT>(value); }
45 template<
typename ActivityIdT = Aws::String>
54 template<
typename TitleT = Aws::String>
55 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
56 template<
typename TitleT = Aws::String>
66 template<
typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
68 template<
typename DescriptionT = Aws::String>
87 template<
typename InstructionsUrlT = Aws::String>
88 void SetInstructionsUrl(InstructionsUrlT&& value) { m_instructionsUrlHasBeenSet =
true; m_instructionsUrl = std::forward<InstructionsUrlT>(value); }
89 template<
typename InstructionsUrlT = Aws::String>
98 template<
typename RewardT = ActivityReward>
99 void SetReward(RewardT&& value) { m_rewardHasBeenSet =
true; m_reward = std::forward<RewardT>(value); }
100 template<
typename RewardT = ActivityReward>
119 template<
typename ExpiresAtT = Aws::Utils::DateTime>
120 void SetExpiresAt(ExpiresAtT&& value) { m_expiresAtHasBeenSet =
true; m_expiresAt = std::forward<ExpiresAtT>(value); }
121 template<
typename ExpiresAtT = Aws::Utils::DateTime>
132 template<
typename StartedAtT = Aws::Utils::DateTime>
133 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
134 template<
typename StartedAtT = Aws::Utils::DateTime>
144 template<
typename CompletedAtT = Aws::Utils::DateTime>
145 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet =
true; m_completedAt = std::forward<CompletedAtT>(value); }
146 template<
typename CompletedAtT = Aws::Utils::DateTime>
153 template<
typename RequestIdT = Aws::String>
154 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
155 template<
typename RequestIdT = Aws::String>
161 bool m_activityIdHasBeenSet =
false;
164 bool m_titleHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
170 bool m_statusHasBeenSet =
false;
173 bool m_instructionsUrlHasBeenSet =
false;
175 ActivityReward m_reward;
176 bool m_rewardHasBeenSet =
false;
178 int m_estimatedTimeToCompleteInMinutes{0};
179 bool m_estimatedTimeToCompleteInMinutesHasBeenSet =
false;
182 bool m_expiresAtHasBeenSet =
false;
185 bool m_startedAtHasBeenSet =
false;
188 bool m_completedAtHasBeenSet =
false;
191 bool m_requestIdHasBeenSet =
false;
GetAccountActivityResult & WithEstimatedTimeToCompleteInMinutes(int value)
GetAccountActivityResult & WithStartedAt(StartedAtT &&value)
ActivityStatus GetStatus() const
AWS_FREETIER_API GetAccountActivityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(ActivityStatus value)
void SetTitle(TitleT &&value)
GetAccountActivityResult & WithCompletedAt(CompletedAtT &&value)
GetAccountActivityResult & WithReward(RewardT &&value)
const Aws::String & GetDescription() const
GetAccountActivityResult & WithExpiresAt(ExpiresAtT &&value)
const Aws::String & GetInstructionsUrl() const
const Aws::String & GetRequestId() const
AWS_FREETIER_API GetAccountActivityResult()=default
void SetEstimatedTimeToCompleteInMinutes(int value)
const Aws::String & GetActivityId() const
void SetActivityId(ActivityIdT &&value)
void SetReward(RewardT &&value)
const ActivityReward & GetReward() const
GetAccountActivityResult & WithDescription(DescriptionT &&value)
GetAccountActivityResult & WithStatus(ActivityStatus value)
GetAccountActivityResult & WithTitle(TitleT &&value)
GetAccountActivityResult & WithInstructionsUrl(InstructionsUrlT &&value)
void SetInstructionsUrl(InstructionsUrlT &&value)
int GetEstimatedTimeToCompleteInMinutes() const
void SetStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetExpiresAt() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetTitle() const
GetAccountActivityResult & WithRequestId(RequestIdT &&value)
AWS_FREETIER_API GetAccountActivityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountActivityResult & WithActivityId(ActivityIdT &&value)
const Aws::Utils::DateTime & GetCompletedAt() const
void SetRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetCompletedAt(CompletedAtT &&value)
void SetExpiresAt(ExpiresAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue