AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationExportJob.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ComputeOptimizer
26{
27namespace Model
28{
29
40 {
41 public:
42 AWS_COMPUTEOPTIMIZER_API RecommendationExportJob();
43 AWS_COMPUTEOPTIMIZER_API RecommendationExportJob(Aws::Utils::Json::JsonView jsonValue);
44 AWS_COMPUTEOPTIMIZER_API RecommendationExportJob& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetJobId() const{ return m_jobId; }
53 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
54 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
55 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
56 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
57 inline RecommendationExportJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
58 inline RecommendationExportJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
59 inline RecommendationExportJob& WithJobId(const char* value) { SetJobId(value); return *this;}
61
63
66 inline const ExportDestination& GetDestination() const{ return m_destination; }
67 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
68 inline void SetDestination(const ExportDestination& value) { m_destinationHasBeenSet = true; m_destination = value; }
69 inline void SetDestination(ExportDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
70 inline RecommendationExportJob& WithDestination(const ExportDestination& value) { SetDestination(value); return *this;}
71 inline RecommendationExportJob& WithDestination(ExportDestination&& value) { SetDestination(std::move(value)); return *this;}
73
75
78 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
79 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
80 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
81 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
82 inline RecommendationExportJob& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
83 inline RecommendationExportJob& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
85
87
90 inline const JobStatus& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
94 inline RecommendationExportJob& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
95 inline RecommendationExportJob& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
103 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
104 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
105 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
109
111
114 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
115 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
116 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
117 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
121
123
126 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
127 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
128 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
129 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
130 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
131 inline RecommendationExportJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
132 inline RecommendationExportJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
133 inline RecommendationExportJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
135 private:
136
137 Aws::String m_jobId;
138 bool m_jobIdHasBeenSet = false;
139
140 ExportDestination m_destination;
141 bool m_destinationHasBeenSet = false;
142
143 ResourceType m_resourceType;
144 bool m_resourceTypeHasBeenSet = false;
145
146 JobStatus m_status;
147 bool m_statusHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationTimestamp;
150 bool m_creationTimestampHasBeenSet = false;
151
152 Aws::Utils::DateTime m_lastUpdatedTimestamp;
153 bool m_lastUpdatedTimestampHasBeenSet = false;
154
155 Aws::String m_failureReason;
156 bool m_failureReasonHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace ComputeOptimizer
161} // namespace Aws
RecommendationExportJob & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
RecommendationExportJob & WithFailureReason(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API RecommendationExportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationExportJob & WithStatus(const JobStatus &value)
RecommendationExportJob & WithDestination(const ExportDestination &value)
RecommendationExportJob & WithCreationTimestamp(const Aws::Utils::DateTime &value)
RecommendationExportJob & WithFailureReason(const char *value)
RecommendationExportJob & WithStatus(JobStatus &&value)
RecommendationExportJob & WithDestination(ExportDestination &&value)
RecommendationExportJob & WithResourceType(ResourceType &&value)
RecommendationExportJob & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
RecommendationExportJob & WithJobId(Aws::String &&value)
RecommendationExportJob & WithJobId(const char *value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
RecommendationExportJob & WithJobId(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationExportJob & WithCreationTimestamp(Aws::Utils::DateTime &&value)
RecommendationExportJob & WithResourceType(const ResourceType &value)
RecommendationExportJob & WithFailureReason(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API RecommendationExportJob(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue