AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePreferencesRequest.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/CostOptimizationHubRequest.h>
9#include <aws/cost-optimization-hub/model/SavingsEstimationMode.h>
10#include <aws/cost-optimization-hub/model/MemberAccountDiscountVisibility.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CostOptimizationHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_COSTOPTIMIZATIONHUB_API UpdatePreferencesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdatePreferences"; }
32
33 AWS_COSTOPTIMIZATIONHUB_API Aws::String SerializePayload() const override;
34
35 AWS_COSTOPTIMIZATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const SavingsEstimationMode& GetSavingsEstimationMode() const{ return m_savingsEstimationMode; }
43 inline bool SavingsEstimationModeHasBeenSet() const { return m_savingsEstimationModeHasBeenSet; }
44 inline void SetSavingsEstimationMode(const SavingsEstimationMode& value) { m_savingsEstimationModeHasBeenSet = true; m_savingsEstimationMode = value; }
45 inline void SetSavingsEstimationMode(SavingsEstimationMode&& value) { m_savingsEstimationModeHasBeenSet = true; m_savingsEstimationMode = std::move(value); }
49
51
54 inline const MemberAccountDiscountVisibility& GetMemberAccountDiscountVisibility() const{ return m_memberAccountDiscountVisibility; }
55 inline bool MemberAccountDiscountVisibilityHasBeenSet() const { return m_memberAccountDiscountVisibilityHasBeenSet; }
56 inline void SetMemberAccountDiscountVisibility(const MemberAccountDiscountVisibility& value) { m_memberAccountDiscountVisibilityHasBeenSet = true; m_memberAccountDiscountVisibility = value; }
57 inline void SetMemberAccountDiscountVisibility(MemberAccountDiscountVisibility&& value) { m_memberAccountDiscountVisibilityHasBeenSet = true; m_memberAccountDiscountVisibility = std::move(value); }
61 private:
62
63 SavingsEstimationMode m_savingsEstimationMode;
64 bool m_savingsEstimationModeHasBeenSet = false;
65
66 MemberAccountDiscountVisibility m_memberAccountDiscountVisibility;
67 bool m_memberAccountDiscountVisibilityHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace CostOptimizationHub
72} // namespace Aws
UpdatePreferencesRequest & WithMemberAccountDiscountVisibility(const MemberAccountDiscountVisibility &value)
void SetSavingsEstimationMode(const SavingsEstimationMode &value)
UpdatePreferencesRequest & WithSavingsEstimationMode(SavingsEstimationMode &&value)
UpdatePreferencesRequest & WithSavingsEstimationMode(const SavingsEstimationMode &value)
UpdatePreferencesRequest & WithMemberAccountDiscountVisibility(MemberAccountDiscountVisibility &&value)
const MemberAccountDiscountVisibility & GetMemberAccountDiscountVisibility() const
void SetMemberAccountDiscountVisibility(const MemberAccountDiscountVisibility &value)
AWS_COSTOPTIMIZATIONHUB_API Aws::String SerializePayload() const override
void SetMemberAccountDiscountVisibility(MemberAccountDiscountVisibility &&value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String