AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSavingsPlansPurchaseRecommendationResult.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/SavingsPlansPurchaseRecommendationMetadata.h>
9#include <aws/ce/model/SavingsPlansPurchaseRecommendation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CostExplorer
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const SavingsPlansPurchaseRecommendationMetadata& GetMetadata() const{ return m_metadata; }
42 inline void SetMetadata(const SavingsPlansPurchaseRecommendationMetadata& value) { m_metadata = value; }
43 inline void SetMetadata(SavingsPlansPurchaseRecommendationMetadata&& value) { m_metadata = std::move(value); }
47
49
53 inline const SavingsPlansPurchaseRecommendation& GetSavingsPlansPurchaseRecommendation() const{ return m_savingsPlansPurchaseRecommendation; }
54 inline void SetSavingsPlansPurchaseRecommendation(const SavingsPlansPurchaseRecommendation& value) { m_savingsPlansPurchaseRecommendation = value; }
55 inline void SetSavingsPlansPurchaseRecommendation(SavingsPlansPurchaseRecommendation&& value) { m_savingsPlansPurchaseRecommendation = std::move(value); }
59
61
66 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
67 inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
68 inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
69 inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
72 inline GetSavingsPlansPurchaseRecommendationResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline GetSavingsPlansPurchaseRecommendationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline GetSavingsPlansPurchaseRecommendationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
88
89 SavingsPlansPurchaseRecommendation m_savingsPlansPurchaseRecommendation;
90
91 Aws::String m_nextPageToken;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace CostExplorer
98} // namespace Aws
AWS_COSTEXPLORER_API GetSavingsPlansPurchaseRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSavingsPlansPurchaseRecommendationResult & WithRequestId(const Aws::String &value)
GetSavingsPlansPurchaseRecommendationResult & WithSavingsPlansPurchaseRecommendation(SavingsPlansPurchaseRecommendation &&value)
GetSavingsPlansPurchaseRecommendationResult & WithNextPageToken(Aws::String &&value)
GetSavingsPlansPurchaseRecommendationResult & WithNextPageToken(const char *value)
GetSavingsPlansPurchaseRecommendationResult & WithMetadata(SavingsPlansPurchaseRecommendationMetadata &&value)
GetSavingsPlansPurchaseRecommendationResult & WithNextPageToken(const Aws::String &value)
GetSavingsPlansPurchaseRecommendationResult & WithRequestId(const char *value)
AWS_COSTEXPLORER_API GetSavingsPlansPurchaseRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSavingsPlansPurchaseRecommendationResult & WithMetadata(const SavingsPlansPurchaseRecommendationMetadata &value)
GetSavingsPlansPurchaseRecommendationResult & WithSavingsPlansPurchaseRecommendation(const SavingsPlansPurchaseRecommendation &value)
GetSavingsPlansPurchaseRecommendationResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue