AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
PutCustomChargesResult.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AppMonetization {
24namespace Model {
26 public:
27 AWS_APPMONETIZATION_API PutCustomChargesResult() = default;
30
32
37 inline const Aws::Utils::DateTime& GetBillingPeriodStartAt() const { return m_billingPeriodStartAt; }
38 template <typename BillingPeriodStartAtT = Aws::Utils::DateTime>
39 void SetBillingPeriodStartAt(BillingPeriodStartAtT&& value) {
40 m_billingPeriodStartAtHasBeenSet = true;
41 m_billingPeriodStartAt = std::forward<BillingPeriodStartAtT>(value);
42 }
43 template <typename BillingPeriodStartAtT = Aws::Utils::DateTime>
44 PutCustomChargesResult& WithBillingPeriodStartAt(BillingPeriodStartAtT&& value) {
45 SetBillingPeriodStartAt(std::forward<BillingPeriodStartAtT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Utils::DateTime& GetBillingPeriodEndAt() const { return m_billingPeriodEndAt; }
55 template <typename BillingPeriodEndAtT = Aws::Utils::DateTime>
56 void SetBillingPeriodEndAt(BillingPeriodEndAtT&& value) {
57 m_billingPeriodEndAtHasBeenSet = true;
58 m_billingPeriodEndAt = std::forward<BillingPeriodEndAtT>(value);
59 }
60 template <typename BillingPeriodEndAtT = Aws::Utils::DateTime>
61 PutCustomChargesResult& WithBillingPeriodEndAt(BillingPeriodEndAtT&& value) {
62 SetBillingPeriodEndAt(std::forward<BillingPeriodEndAtT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 Aws::Utils::DateTime m_billingPeriodStartAt{};
85
86 Aws::Utils::DateTime m_billingPeriodEndAt{};
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_billingPeriodStartAtHasBeenSet = false;
91 bool m_billingPeriodEndAtHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace AppMonetization
97} // namespace Aws
const Aws::Utils::DateTime & GetBillingPeriodStartAt() const
AWS_APPMONETIZATION_API PutCustomChargesResult()=default
PutCustomChargesResult & WithBillingPeriodEndAt(BillingPeriodEndAtT &&value)
AWS_APPMONETIZATION_API PutCustomChargesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetBillingPeriodEndAt() const
void SetBillingPeriodStartAt(BillingPeriodStartAtT &&value)
AWS_APPMONETIZATION_API PutCustomChargesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
PutCustomChargesResult & WithRequestId(RequestIdT &&value)
PutCustomChargesResult & WithBillingPeriodStartAt(BillingPeriodStartAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue