7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/compute-optimizer/model/ExportDestination.h>
10#include <aws/compute-optimizer/model/ResourceType.h>
11#include <aws/compute-optimizer/model/JobStatus.h>
12#include <aws/core/utils/DateTime.h>
25namespace ComputeOptimizer
54 template<
typename JobIdT = Aws::String>
55 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
56 template<
typename JobIdT = Aws::String>
66 template<
typename DestinationT = ExportDestination>
67 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
68 template<
typename DestinationT = ExportDestination>
98 template<
typename CreationTimestampT = Aws::Utils::DateTime>
99 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet =
true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
100 template<
typename CreationTimestampT = Aws::Utils::DateTime>
110 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
111 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet =
true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
112 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
122 template<
typename FailureReasonT = Aws::String>
123 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
124 template<
typename FailureReasonT = Aws::String>
130 bool m_jobIdHasBeenSet =
false;
133 bool m_destinationHasBeenSet =
false;
136 bool m_resourceTypeHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
142 bool m_creationTimestampHasBeenSet =
false;
145 bool m_lastUpdatedTimestampHasBeenSet =
false;
148 bool m_failureReasonHasBeenSet =
false;
ResourceType GetResourceType() const
AWS_COMPUTEOPTIMIZER_API RecommendationExportJob()=default
RecommendationExportJob & WithStatus(JobStatus value)
bool LastUpdatedTimestampHasBeenSet() const
RecommendationExportJob & WithCreationTimestamp(CreationTimestampT &&value)
bool DestinationHasBeenSet() const
RecommendationExportJob & WithResourceType(ResourceType value)
void SetStatus(JobStatus value)
AWS_COMPUTEOPTIMIZER_API RecommendationExportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationExportJob & WithDestination(DestinationT &&value)
const Aws::String & GetFailureReason() const
const ExportDestination & GetDestination() const
void SetResourceType(ResourceType value)
RecommendationExportJob & WithFailureReason(FailureReasonT &&value)
RecommendationExportJob & WithJobId(JobIdT &&value)
RecommendationExportJob & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
bool StatusHasBeenSet() const
bool FailureReasonHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetJobId(JobIdT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
void SetDestination(DestinationT &&value)
bool JobIdHasBeenSet() const
const Aws::String & GetJobId() const
bool CreationTimestampHasBeenSet() const
void SetFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
JobStatus GetStatus() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API RecommendationExportJob(Aws::Utils::Json::JsonView jsonValue)
bool ResourceTypeHasBeenSet() const
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue