AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRightsizingRecommendationResult.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/RightsizingRecommendationMetadata.h>
9#include <aws/ce/model/RightsizingRecommendationSummary.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ce/model/RightsizingRecommendationConfiguration.h>
13#include <aws/ce/model/RightsizingRecommendation.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace CostExplorer
29{
30namespace Model
31{
33 {
34 public:
35 AWS_COSTEXPLORER_API GetRightsizingRecommendationResult();
38
39
41
44 inline const RightsizingRecommendationMetadata& GetMetadata() const{ return m_metadata; }
45 inline void SetMetadata(const RightsizingRecommendationMetadata& value) { m_metadata = value; }
46 inline void SetMetadata(RightsizingRecommendationMetadata&& value) { m_metadata = std::move(value); }
50
52
55 inline const RightsizingRecommendationSummary& GetSummary() const{ return m_summary; }
56 inline void SetSummary(const RightsizingRecommendationSummary& value) { m_summary = value; }
57 inline void SetSummary(RightsizingRecommendationSummary&& value) { m_summary = std::move(value); }
61
63
66 inline const Aws::Vector<RightsizingRecommendation>& GetRightsizingRecommendations() const{ return m_rightsizingRecommendations; }
67 inline void SetRightsizingRecommendations(const Aws::Vector<RightsizingRecommendation>& value) { m_rightsizingRecommendations = value; }
68 inline void SetRightsizingRecommendations(Aws::Vector<RightsizingRecommendation>&& value) { m_rightsizingRecommendations = std::move(value); }
71 inline GetRightsizingRecommendationResult& AddRightsizingRecommendations(const RightsizingRecommendation& value) { m_rightsizingRecommendations.push_back(value); return *this; }
72 inline GetRightsizingRecommendationResult& AddRightsizingRecommendations(RightsizingRecommendation&& value) { m_rightsizingRecommendations.push_back(std::move(value)); return *this; }
74
76
79 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
80 inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
81 inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
82 inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
84 inline GetRightsizingRecommendationResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
85 inline GetRightsizingRecommendationResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
87
89
96 inline const RightsizingRecommendationConfiguration& GetConfiguration() const{ return m_configuration; }
97 inline void SetConfiguration(const RightsizingRecommendationConfiguration& value) { m_configuration = value; }
98 inline void SetConfiguration(RightsizingRecommendationConfiguration&& value) { m_configuration = std::move(value); }
102
104
105 inline const Aws::String& GetRequestId() const{ return m_requestId; }
106 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
107 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
108 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
109 inline GetRightsizingRecommendationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
110 inline GetRightsizingRecommendationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
111 inline GetRightsizingRecommendationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
113 private:
114
116
118
119 Aws::Vector<RightsizingRecommendation> m_rightsizingRecommendations;
120
121 Aws::String m_nextPageToken;
122
124
125 Aws::String m_requestId;
126 };
127
128} // namespace Model
129} // namespace CostExplorer
130} // namespace Aws
GetRightsizingRecommendationResult & WithRequestId(const char *value)
GetRightsizingRecommendationResult & AddRightsizingRecommendations(RightsizingRecommendation &&value)
GetRightsizingRecommendationResult & WithSummary(const RightsizingRecommendationSummary &value)
const Aws::Vector< RightsizingRecommendation > & GetRightsizingRecommendations() const
GetRightsizingRecommendationResult & AddRightsizingRecommendations(const RightsizingRecommendation &value)
GetRightsizingRecommendationResult & WithNextPageToken(const char *value)
GetRightsizingRecommendationResult & WithMetadata(const RightsizingRecommendationMetadata &value)
void SetConfiguration(RightsizingRecommendationConfiguration &&value)
void SetRightsizingRecommendations(Aws::Vector< RightsizingRecommendation > &&value)
GetRightsizingRecommendationResult & WithConfiguration(RightsizingRecommendationConfiguration &&value)
AWS_COSTEXPLORER_API GetRightsizingRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRightsizingRecommendationResult & WithRightsizingRecommendations(const Aws::Vector< RightsizingRecommendation > &value)
GetRightsizingRecommendationResult & WithNextPageToken(const Aws::String &value)
GetRightsizingRecommendationResult & WithRightsizingRecommendations(Aws::Vector< RightsizingRecommendation > &&value)
const RightsizingRecommendationConfiguration & GetConfiguration() const
GetRightsizingRecommendationResult & WithSummary(RightsizingRecommendationSummary &&value)
void SetRightsizingRecommendations(const Aws::Vector< RightsizingRecommendation > &value)
void SetMetadata(const RightsizingRecommendationMetadata &value)
GetRightsizingRecommendationResult & WithNextPageToken(Aws::String &&value)
GetRightsizingRecommendationResult & WithMetadata(RightsizingRecommendationMetadata &&value)
GetRightsizingRecommendationResult & WithConfiguration(const RightsizingRecommendationConfiguration &value)
GetRightsizingRecommendationResult & WithRequestId(const Aws::String &value)
void SetConfiguration(const RightsizingRecommendationConfiguration &value)
AWS_COSTEXPLORER_API GetRightsizingRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRightsizingRecommendationResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue