7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/ExportDestination.h>
9#include <aws/compute-optimizer/model/JobStatus.h>
10#include <aws/compute-optimizer/model/ResourceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace ComputeOptimizer {
48 template <
typename JobIdT = Aws::String>
50 m_jobIdHasBeenSet =
true;
51 m_jobId = std::forward<JobIdT>(value);
53 template <
typename JobIdT = Aws::String>
55 SetJobId(std::forward<JobIdT>(value));
66 template <
typename DestinationT = ExportDestination>
68 m_destinationHasBeenSet =
true;
69 m_destination = std::forward<DestinationT>(value);
71 template <
typename DestinationT = ExportDestination>
85 m_resourceTypeHasBeenSet =
true;
86 m_resourceType = value;
101 m_statusHasBeenSet =
true;
116 template <
typename CreationTimestampT = Aws::Utils::DateTime>
118 m_creationTimestampHasBeenSet =
true;
119 m_creationTimestamp = std::forward<CreationTimestampT>(value);
121 template <
typename CreationTimestampT = Aws::Utils::DateTime>
134 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
136 m_lastUpdatedTimestampHasBeenSet =
true;
137 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
139 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
152 template <
typename FailureReasonT = Aws::String>
154 m_failureReasonHasBeenSet =
true;
155 m_failureReason = std::forward<FailureReasonT>(value);
157 template <
typename FailureReasonT = Aws::String>
177 bool m_jobIdHasBeenSet =
false;
178 bool m_destinationHasBeenSet =
false;
179 bool m_resourceTypeHasBeenSet =
false;
180 bool m_statusHasBeenSet =
false;
181 bool m_creationTimestampHasBeenSet =
false;
182 bool m_lastUpdatedTimestampHasBeenSet =
false;
183 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