AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ExportIdleRecommendationsResult.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/S3Destination.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ComputeOptimizer {
24namespace Model {
26 public:
27 AWS_COMPUTEOPTIMIZER_API ExportIdleRecommendationsResult() = default;
29 AWS_COMPUTEOPTIMIZER_API ExportIdleRecommendationsResult& operator=(
31
33
38 inline const Aws::String& GetJobId() const { return m_jobId; }
39 template <typename JobIdT = Aws::String>
40 void SetJobId(JobIdT&& value) {
41 m_jobIdHasBeenSet = true;
42 m_jobId = std::forward<JobIdT>(value);
43 }
44 template <typename JobIdT = Aws::String>
46 SetJobId(std::forward<JobIdT>(value));
47 return *this;
48 }
50
52
53 inline const S3Destination& GetS3Destination() const { return m_s3Destination; }
54 template <typename S3DestinationT = S3Destination>
55 void SetS3Destination(S3DestinationT&& value) {
56 m_s3DestinationHasBeenSet = true;
57 m_s3Destination = std::forward<S3DestinationT>(value);
58 }
59 template <typename S3DestinationT = S3Destination>
61 SetS3Destination(std::forward<S3DestinationT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 Aws::String m_jobId;
84
85 S3Destination m_s3Destination;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_jobIdHasBeenSet = false;
90 bool m_s3DestinationHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace ComputeOptimizer
96} // namespace Aws
AWS_COMPUTEOPTIMIZER_API ExportIdleRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPUTEOPTIMIZER_API ExportIdleRecommendationsResult()=default
ExportIdleRecommendationsResult & WithRequestId(RequestIdT &&value)
AWS_COMPUTEOPTIMIZER_API ExportIdleRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExportIdleRecommendationsResult & WithS3Destination(S3DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue