AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
UpdatePricingPlanResult.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace BillingConductor {
23namespace Model {
25 public:
26 AWS_BILLINGCONDUCTOR_API UpdatePricingPlanResult() = default;
29
31
34 inline const Aws::String& GetArn() const { return m_arn; }
35 template <typename ArnT = Aws::String>
36 void SetArn(ArnT&& value) {
37 m_arnHasBeenSet = true;
38 m_arn = std::forward<ArnT>(value);
39 }
40 template <typename ArnT = Aws::String>
42 SetArn(std::forward<ArnT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 template <typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) {
72 m_descriptionHasBeenSet = true;
73 m_description = std::forward<DescriptionT>(value);
74 }
75 template <typename DescriptionT = Aws::String>
77 SetDescription(std::forward<DescriptionT>(value));
78 return *this;
79 }
81
83
87 inline long long GetSize() const { return m_size; }
88 inline void SetSize(long long value) {
89 m_sizeHasBeenSet = true;
90 m_size = value;
91 }
92 inline UpdatePricingPlanResult& WithSize(long long value) {
93 SetSize(value);
94 return *this;
95 }
97
99
102 inline long long GetLastModifiedTime() const { return m_lastModifiedTime; }
103 inline void SetLastModifiedTime(long long value) {
104 m_lastModifiedTimeHasBeenSet = true;
105 m_lastModifiedTime = value;
106 }
108 SetLastModifiedTime(value);
109 return *this;
110 }
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template <typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) {
118 m_requestIdHasBeenSet = true;
119 m_requestId = std::forward<RequestIdT>(value);
120 }
121 template <typename RequestIdT = Aws::String>
123 SetRequestId(std::forward<RequestIdT>(value));
124 return *this;
125 }
127 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
128
129 private:
130 Aws::String m_arn;
131
132 Aws::String m_name;
133
134 Aws::String m_description;
135
136 long long m_size{0};
137
138 long long m_lastModifiedTime{0};
139
140 Aws::String m_requestId;
141 Aws::Http::HttpResponseCode m_HttpResponseCode;
142 bool m_arnHasBeenSet = false;
143 bool m_nameHasBeenSet = false;
144 bool m_descriptionHasBeenSet = false;
145 bool m_sizeHasBeenSet = false;
146 bool m_lastModifiedTimeHasBeenSet = false;
147 bool m_requestIdHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace BillingConductor
152} // namespace Aws
UpdatePricingPlanResult & WithLastModifiedTime(long long value)
AWS_BILLINGCONDUCTOR_API UpdatePricingPlanResult()=default
AWS_BILLINGCONDUCTOR_API UpdatePricingPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BILLINGCONDUCTOR_API UpdatePricingPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePricingPlanResult & WithDescription(DescriptionT &&value)
UpdatePricingPlanResult & WithSize(long long value)
UpdatePricingPlanResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue