AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReservationPurchaseRecommendationResult.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/ReservationPurchaseRecommendationMetadata.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ce/model/ReservationPurchaseRecommendation.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CostExplorer
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const ReservationPurchaseRecommendationMetadata& GetMetadata() const{ return m_metadata; }
44 inline void SetMetadata(const ReservationPurchaseRecommendationMetadata& value) { m_metadata = value; }
45 inline void SetMetadata(ReservationPurchaseRecommendationMetadata&& value) { m_metadata = std::move(value); }
49
51
54 inline const Aws::Vector<ReservationPurchaseRecommendation>& GetRecommendations() const{ return m_recommendations; }
55 inline void SetRecommendations(const Aws::Vector<ReservationPurchaseRecommendation>& value) { m_recommendations = value; }
56 inline void SetRecommendations(Aws::Vector<ReservationPurchaseRecommendation>&& value) { m_recommendations = std::move(value); }
59 inline GetReservationPurchaseRecommendationResult& AddRecommendations(const ReservationPurchaseRecommendation& value) { m_recommendations.push_back(value); return *this; }
60 inline GetReservationPurchaseRecommendationResult& AddRecommendations(ReservationPurchaseRecommendation&& value) { m_recommendations.push_back(std::move(value)); return *this; }
62
64
67 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
68 inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
69 inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
70 inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
73 inline GetReservationPurchaseRecommendationResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline GetReservationPurchaseRecommendationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline GetReservationPurchaseRecommendationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
89
91
92 Aws::String m_nextPageToken;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace CostExplorer
99} // namespace Aws
GetReservationPurchaseRecommendationResult & WithRecommendations(const Aws::Vector< ReservationPurchaseRecommendation > &value)
GetReservationPurchaseRecommendationResult & WithRequestId(Aws::String &&value)
void SetRecommendations(const Aws::Vector< ReservationPurchaseRecommendation > &value)
AWS_COSTEXPLORER_API GetReservationPurchaseRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRecommendations(Aws::Vector< ReservationPurchaseRecommendation > &&value)
GetReservationPurchaseRecommendationResult & WithNextPageToken(Aws::String &&value)
GetReservationPurchaseRecommendationResult & AddRecommendations(ReservationPurchaseRecommendation &&value)
GetReservationPurchaseRecommendationResult & WithRequestId(const Aws::String &value)
GetReservationPurchaseRecommendationResult & WithMetadata(ReservationPurchaseRecommendationMetadata &&value)
GetReservationPurchaseRecommendationResult & WithRecommendations(Aws::Vector< ReservationPurchaseRecommendation > &&value)
GetReservationPurchaseRecommendationResult & WithNextPageToken(const char *value)
AWS_COSTEXPLORER_API GetReservationPurchaseRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ReservationPurchaseRecommendation > & GetRecommendations() const
GetReservationPurchaseRecommendationResult & WithMetadata(const ReservationPurchaseRecommendationMetadata &value)
GetReservationPurchaseRecommendationResult & AddRecommendations(const ReservationPurchaseRecommendation &value)
GetReservationPurchaseRecommendationResult & WithRequestId(const char *value)
GetReservationPurchaseRecommendationResult & WithNextPageToken(const 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