AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetOutpostBillingInformationResult.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/outposts/model/Subscription.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 Outposts
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OUTPOSTS_API GetOutpostBillingInformationResult() = default;
35
36
38
39 inline const Aws::String& GetNextToken() const { return m_nextToken; }
40 template<typename NextTokenT = Aws::String>
41 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
42 template<typename NextTokenT = Aws::String>
43 GetOutpostBillingInformationResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
45
47
50 inline const Aws::Vector<Subscription>& GetSubscriptions() const { return m_subscriptions; }
51 template<typename SubscriptionsT = Aws::Vector<Subscription>>
52 void SetSubscriptions(SubscriptionsT&& value) { m_subscriptionsHasBeenSet = true; m_subscriptions = std::forward<SubscriptionsT>(value); }
53 template<typename SubscriptionsT = Aws::Vector<Subscription>>
54 GetOutpostBillingInformationResult& WithSubscriptions(SubscriptionsT&& value) { SetSubscriptions(std::forward<SubscriptionsT>(value)); return *this;}
55 template<typename SubscriptionsT = Subscription>
56 GetOutpostBillingInformationResult& AddSubscriptions(SubscriptionsT&& value) { m_subscriptionsHasBeenSet = true; m_subscriptions.emplace_back(std::forward<SubscriptionsT>(value)); return *this; }
58
60
67 inline const Aws::String& GetContractEndDate() const { return m_contractEndDate; }
68 template<typename ContractEndDateT = Aws::String>
69 void SetContractEndDate(ContractEndDateT&& value) { m_contractEndDateHasBeenSet = true; m_contractEndDate = std::forward<ContractEndDateT>(value); }
70 template<typename ContractEndDateT = Aws::String>
71 GetOutpostBillingInformationResult& WithContractEndDate(ContractEndDateT&& value) { SetContractEndDate(std::forward<ContractEndDateT>(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template<typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
79 template<typename RequestIdT = Aws::String>
80 GetOutpostBillingInformationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
82 private:
83
84 Aws::String m_nextToken;
85 bool m_nextTokenHasBeenSet = false;
86
87 Aws::Vector<Subscription> m_subscriptions;
88 bool m_subscriptionsHasBeenSet = false;
89
90 Aws::String m_contractEndDate;
91 bool m_contractEndDateHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Outposts
99} // namespace Aws
GetOutpostBillingInformationResult & WithContractEndDate(ContractEndDateT &&value)
GetOutpostBillingInformationResult & WithSubscriptions(SubscriptionsT &&value)
GetOutpostBillingInformationResult & WithRequestId(RequestIdT &&value)
GetOutpostBillingInformationResult & WithNextToken(NextTokenT &&value)
AWS_OUTPOSTS_API GetOutpostBillingInformationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOutpostBillingInformationResult & AddSubscriptions(SubscriptionsT &&value)
AWS_OUTPOSTS_API GetOutpostBillingInformationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue