AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
ServiceLevelAccountUsage.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Billing {
20namespace Model {
21
28 public:
29 AWS_BILLING_API ServiceLevelAccountUsage() = default;
32 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
39 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
40 template <typename ServiceCodeT = Aws::String>
41 void SetServiceCode(ServiceCodeT&& value) {
42 m_serviceCodeHasBeenSet = true;
43 m_serviceCode = std::forward<ServiceCodeT>(value);
44 }
45 template <typename ServiceCodeT = Aws::String>
47 SetServiceCode(std::forward<ServiceCodeT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTotalSupportEligibleSpend() const { return m_totalSupportEligibleSpend; }
57 inline bool TotalSupportEligibleSpendHasBeenSet() const { return m_totalSupportEligibleSpendHasBeenSet; }
58 template <typename TotalSupportEligibleSpendT = Aws::String>
59 void SetTotalSupportEligibleSpend(TotalSupportEligibleSpendT&& value) {
60 m_totalSupportEligibleSpendHasBeenSet = true;
61 m_totalSupportEligibleSpend = std::forward<TotalSupportEligibleSpendT>(value);
62 }
63 template <typename TotalSupportEligibleSpendT = Aws::String>
64 ServiceLevelAccountUsage& WithTotalSupportEligibleSpend(TotalSupportEligibleSpendT&& value) {
65 SetTotalSupportEligibleSpend(std::forward<TotalSupportEligibleSpendT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_serviceCode;
71
72 Aws::String m_totalSupportEligibleSpend;
73 bool m_serviceCodeHasBeenSet = false;
74 bool m_totalSupportEligibleSpendHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Billing
79} // namespace Aws
void SetTotalSupportEligibleSpend(TotalSupportEligibleSpendT &&value)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceLevelAccountUsage & WithServiceCode(ServiceCodeT &&value)
AWS_BILLING_API ServiceLevelAccountUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API ServiceLevelAccountUsage()=default
AWS_BILLING_API ServiceLevelAccountUsage(Aws::Utils::Json::JsonView jsonValue)
ServiceLevelAccountUsage & WithTotalSupportEligibleSpend(TotalSupportEligibleSpendT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue