AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUsageResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 APIGateway
26{
27namespace Model
28{
35 {
36 public:
37 AWS_APIGATEWAY_API GetUsageResult();
40
41
43
46 inline const Aws::String& GetUsagePlanId() const{ return m_usagePlanId; }
47 inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanId = value; }
48 inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanId = std::move(value); }
49 inline void SetUsagePlanId(const char* value) { m_usagePlanId.assign(value); }
50 inline GetUsageResult& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;}
51 inline GetUsageResult& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;}
52 inline GetUsageResult& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;}
54
56
59 inline const Aws::String& GetStartDate() const{ return m_startDate; }
60 inline void SetStartDate(const Aws::String& value) { m_startDate = value; }
61 inline void SetStartDate(Aws::String&& value) { m_startDate = std::move(value); }
62 inline void SetStartDate(const char* value) { m_startDate.assign(value); }
63 inline GetUsageResult& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
64 inline GetUsageResult& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
65 inline GetUsageResult& WithStartDate(const char* value) { SetStartDate(value); return *this;}
67
69
72 inline const Aws::String& GetEndDate() const{ return m_endDate; }
73 inline void SetEndDate(const Aws::String& value) { m_endDate = value; }
74 inline void SetEndDate(Aws::String&& value) { m_endDate = std::move(value); }
75 inline void SetEndDate(const char* value) { m_endDate.assign(value); }
76 inline GetUsageResult& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
77 inline GetUsageResult& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;}
78 inline GetUsageResult& WithEndDate(const char* value) { SetEndDate(value); return *this;}
80
82
83 inline const Aws::String& GetPosition() const{ return m_position; }
84 inline void SetPosition(const Aws::String& value) { m_position = value; }
85 inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
86 inline void SetPosition(const char* value) { m_position.assign(value); }
87 inline GetUsageResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
88 inline GetUsageResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
89 inline GetUsageResult& WithPosition(const char* value) { SetPosition(value); return *this;}
91
93
101 inline void SetItems(const Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>& value) { m_items = value; }
102 inline void SetItems(Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>&& value) { m_items = std::move(value); }
104 inline GetUsageResult& WithItems(Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>&& value) { SetItems(std::move(value)); return *this;}
105 inline GetUsageResult& AddItems(const Aws::String& key, const Aws::Vector<Aws::Vector<long long>>& value) { m_items.emplace(key, value); return *this; }
106 inline GetUsageResult& AddItems(Aws::String&& key, const Aws::Vector<Aws::Vector<long long>>& value) { m_items.emplace(std::move(key), value); return *this; }
107 inline GetUsageResult& AddItems(const Aws::String& key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(key, std::move(value)); return *this; }
108 inline GetUsageResult& AddItems(Aws::String&& key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(std::move(key), std::move(value)); return *this; }
109 inline GetUsageResult& AddItems(const char* key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(key, std::move(value)); return *this; }
110 inline GetUsageResult& AddItems(const char* key, const Aws::Vector<Aws::Vector<long long>>& value) { m_items.emplace(key, value); return *this; }
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
119 inline GetUsageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline GetUsageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline GetUsageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 private:
124
125 Aws::String m_usagePlanId;
126
127 Aws::String m_startDate;
128
129 Aws::String m_endDate;
130
131 Aws::String m_position;
132
134
135 Aws::String m_requestId;
136 };
137
138} // namespace Model
139} // namespace APIGateway
140} // namespace Aws
GetUsageResult & WithStartDate(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetUsagePlanId(const char *value)
const Aws::String & GetRequestId() const
GetUsageResult & WithEndDate(const char *value)
GetUsageResult & WithEndDate(Aws::String &&value)
const Aws::String & GetUsagePlanId() const
GetUsageResult & WithItems(const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > &value)
const Aws::String & GetStartDate() const
GetUsageResult & AddItems(const char *key, Aws::Vector< Aws::Vector< long long > > &&value)
GetUsageResult & WithItems(Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > &&value)
GetUsageResult & WithPosition(const Aws::String &value)
GetUsageResult & WithStartDate(const char *value)
GetUsageResult & WithPosition(Aws::String &&value)
GetUsageResult & WithRequestId(const Aws::String &value)
AWS_APIGATEWAY_API GetUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsageResult & AddItems(const char *key, const Aws::Vector< Aws::Vector< long long > > &value)
GetUsageResult & WithStartDate(Aws::String &&value)
void SetUsagePlanId(const Aws::String &value)
void SetEndDate(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetUsageResult & WithRequestId(Aws::String &&value)
AWS_APIGATEWAY_API GetUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsageResult & AddItems(Aws::String &&key, const Aws::Vector< Aws::Vector< long long > > &value)
void SetPosition(Aws::String &&value)
GetUsageResult & WithRequestId(const char *value)
const Aws::String & GetPosition() const
GetUsageResult & WithUsagePlanId(const Aws::String &value)
GetUsageResult & AddItems(const Aws::String &key, Aws::Vector< Aws::Vector< long long > > &&value)
void SetItems(Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > &&value)
GetUsageResult & WithEndDate(const Aws::String &value)
void SetUsagePlanId(Aws::String &&value)
GetUsageResult & WithUsagePlanId(const char *value)
GetUsageResult & AddItems(Aws::String &&key, Aws::Vector< Aws::Vector< long long > > &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > & GetItems() const
void SetPosition(const Aws::String &value)
GetUsageResult & AddItems(const Aws::String &key, const Aws::Vector< Aws::Vector< long long > > &value)
void SetStartDate(Aws::String &&value)
GetUsageResult & WithUsagePlanId(Aws::String &&value)
GetUsageResult & WithPosition(const char *value)
void SetItems(const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > &value)
const Aws::String & GetEndDate() const
void SetEndDate(Aws::String &&value)
void SetStartDate(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue