AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUsageResult.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 UpdateUsageResult();
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 UpdateUsageResult& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;}
51 inline UpdateUsageResult& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;}
52 inline UpdateUsageResult& 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 UpdateUsageResult& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
64 inline UpdateUsageResult& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
65 inline UpdateUsageResult& 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 UpdateUsageResult& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
77 inline UpdateUsageResult& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;}
78 inline UpdateUsageResult& 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 UpdateUsageResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
88 inline UpdateUsageResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
89 inline UpdateUsageResult& 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 UpdateUsageResult& WithItems(Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>&& value) { SetItems(std::move(value)); return *this;}
105 inline UpdateUsageResult& AddItems(const Aws::String& key, const Aws::Vector<Aws::Vector<long long>>& value) { m_items.emplace(key, value); return *this; }
106 inline UpdateUsageResult& AddItems(Aws::String&& key, const Aws::Vector<Aws::Vector<long long>>& value) { m_items.emplace(std::move(key), value); return *this; }
107 inline UpdateUsageResult& AddItems(const Aws::String& key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(key, std::move(value)); return *this; }
108 inline UpdateUsageResult& AddItems(Aws::String&& key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(std::move(key), std::move(value)); return *this; }
109 inline UpdateUsageResult& AddItems(const char* key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(key, std::move(value)); return *this; }
110 inline UpdateUsageResult& 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 UpdateUsageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline UpdateUsageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline UpdateUsageResult& 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
UpdateUsageResult & WithItems(Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > &&value)
void SetUsagePlanId(const Aws::String &value)
UpdateUsageResult & WithRequestId(const char *value)
void SetEndDate(const Aws::String &value)
void SetItems(Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > &&value)
UpdateUsageResult & WithStartDate(const Aws::String &value)
UpdateUsageResult & WithPosition(const char *value)
UpdateUsageResult & AddItems(Aws::String &&key, const Aws::Vector< Aws::Vector< long long > > &value)
UpdateUsageResult & WithEndDate(const char *value)
UpdateUsageResult & AddItems(const Aws::String &key, const Aws::Vector< Aws::Vector< long long > > &value)
UpdateUsageResult & WithUsagePlanId(const char *value)
AWS_APIGATEWAY_API UpdateUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateUsageResult & WithStartDate(const char *value)
void SetRequestId(const Aws::String &value)
UpdateUsageResult & WithItems(const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > &value)
UpdateUsageResult & WithStartDate(Aws::String &&value)
UpdateUsageResult & AddItems(const char *key, const Aws::Vector< Aws::Vector< long long > > &value)
UpdateUsageResult & WithEndDate(const Aws::String &value)
UpdateUsageResult & AddItems(Aws::String &&key, Aws::Vector< Aws::Vector< long long > > &&value)
UpdateUsageResult & WithPosition(Aws::String &&value)
UpdateUsageResult & AddItems(const Aws::String &key, Aws::Vector< Aws::Vector< long long > > &&value)
const Aws::String & GetUsagePlanId() const
UpdateUsageResult & WithUsagePlanId(const Aws::String &value)
void SetPosition(const Aws::String &value)
UpdateUsageResult & WithRequestId(Aws::String &&value)
UpdateUsageResult & WithRequestId(const Aws::String &value)
UpdateUsageResult & WithPosition(const Aws::String &value)
UpdateUsageResult & AddItems(const char *key, Aws::Vector< Aws::Vector< long long > > &&value)
UpdateUsageResult & WithUsagePlanId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > & GetItems() const
AWS_APIGATEWAY_API UpdateUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateUsageResult & WithEndDate(Aws::String &&value)
void SetStartDate(const Aws::String &value)
void SetItems(const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > &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