AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePreferencesResult.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/SavingsEstimationMode.h>
9#include <aws/cost-optimization-hub/model/MemberAccountDiscountVisibility.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 CostOptimizationHub
26{
27namespace Model
28{
30 {
31 public:
32 AWS_COSTOPTIMIZATIONHUB_API UpdatePreferencesResult();
35
36
38
41 inline const SavingsEstimationMode& GetSavingsEstimationMode() const{ return m_savingsEstimationMode; }
42 inline void SetSavingsEstimationMode(const SavingsEstimationMode& value) { m_savingsEstimationMode = value; }
43 inline void SetSavingsEstimationMode(SavingsEstimationMode&& value) { m_savingsEstimationMode = std::move(value); }
47
49
52 inline const MemberAccountDiscountVisibility& GetMemberAccountDiscountVisibility() const{ return m_memberAccountDiscountVisibility; }
53 inline void SetMemberAccountDiscountVisibility(const MemberAccountDiscountVisibility& value) { m_memberAccountDiscountVisibility = value; }
54 inline void SetMemberAccountDiscountVisibility(MemberAccountDiscountVisibility&& value) { m_memberAccountDiscountVisibility = std::move(value); }
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline UpdatePreferencesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline UpdatePreferencesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline UpdatePreferencesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 SavingsEstimationMode m_savingsEstimationMode;
72
73 MemberAccountDiscountVisibility m_memberAccountDiscountVisibility;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace CostOptimizationHub
80} // namespace Aws
UpdatePreferencesResult & WithSavingsEstimationMode(SavingsEstimationMode &&value)
const MemberAccountDiscountVisibility & GetMemberAccountDiscountVisibility() const
UpdatePreferencesResult & WithMemberAccountDiscountVisibility(const MemberAccountDiscountVisibility &value)
void SetSavingsEstimationMode(const SavingsEstimationMode &value)
UpdatePreferencesResult & WithSavingsEstimationMode(const SavingsEstimationMode &value)
UpdatePreferencesResult & WithRequestId(const char *value)
UpdatePreferencesResult & WithMemberAccountDiscountVisibility(MemberAccountDiscountVisibility &&value)
UpdatePreferencesResult & WithRequestId(const Aws::String &value)
void SetMemberAccountDiscountVisibility(MemberAccountDiscountVisibility &&value)
AWS_COSTOPTIMIZATIONHUB_API UpdatePreferencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMemberAccountDiscountVisibility(const MemberAccountDiscountVisibility &value)
UpdatePreferencesResult & WithRequestId(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API UpdatePreferencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue