AWS SDK for C++  1.9.155
AWS SDK for C++
UpdateUsageResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
40  {
41  public:
45 
46 
50  inline const Aws::String& GetUsagePlanId() const{ return m_usagePlanId; }
51 
55  inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanId = value; }
56 
60  inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanId = std::move(value); }
61 
65  inline void SetUsagePlanId(const char* value) { m_usagePlanId.assign(value); }
66 
70  inline UpdateUsageResult& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;}
71 
75  inline UpdateUsageResult& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;}
76 
80  inline UpdateUsageResult& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;}
81 
82 
86  inline const Aws::String& GetStartDate() const{ return m_startDate; }
87 
91  inline void SetStartDate(const Aws::String& value) { m_startDate = value; }
92 
96  inline void SetStartDate(Aws::String&& value) { m_startDate = std::move(value); }
97 
101  inline void SetStartDate(const char* value) { m_startDate.assign(value); }
102 
106  inline UpdateUsageResult& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
107 
111  inline UpdateUsageResult& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
112 
116  inline UpdateUsageResult& WithStartDate(const char* value) { SetStartDate(value); return *this;}
117 
118 
122  inline const Aws::String& GetEndDate() const{ return m_endDate; }
123 
127  inline void SetEndDate(const Aws::String& value) { m_endDate = value; }
128 
132  inline void SetEndDate(Aws::String&& value) { m_endDate = std::move(value); }
133 
137  inline void SetEndDate(const char* value) { m_endDate.assign(value); }
138 
142  inline UpdateUsageResult& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
143 
147  inline UpdateUsageResult& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;}
148 
152  inline UpdateUsageResult& WithEndDate(const char* value) { SetEndDate(value); return *this;}
153 
154 
155 
156  inline const Aws::String& GetPosition() const{ return m_position; }
157 
158 
159  inline void SetPosition(const Aws::String& value) { m_position = value; }
160 
161 
162  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
163 
164 
165  inline void SetPosition(const char* value) { m_position.assign(value); }
166 
167 
168  inline UpdateUsageResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
169 
170 
171  inline UpdateUsageResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
172 
173 
174  inline UpdateUsageResult& WithPosition(const char* value) { SetPosition(value); return *this;}
175 
176 
184  inline const Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>& GetItems() const{ return m_items; }
185 
193  inline void SetItems(const Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>& value) { m_items = value; }
194 
202  inline void SetItems(Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>&& value) { m_items = std::move(value); }
203 
211  inline UpdateUsageResult& WithItems(const Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>& value) { SetItems(value); return *this;}
212 
220  inline UpdateUsageResult& WithItems(Aws::Map<Aws::String, Aws::Vector<Aws::Vector<long long>>>&& value) { SetItems(std::move(value)); return *this;}
221 
229  inline UpdateUsageResult& AddItems(const Aws::String& key, const Aws::Vector<Aws::Vector<long long>>& value) { m_items.emplace(key, value); return *this; }
230 
238  inline UpdateUsageResult& AddItems(Aws::String&& key, const Aws::Vector<Aws::Vector<long long>>& value) { m_items.emplace(std::move(key), value); return *this; }
239 
247  inline UpdateUsageResult& AddItems(const Aws::String& key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(key, std::move(value)); return *this; }
248 
256  inline UpdateUsageResult& AddItems(Aws::String&& key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(std::move(key), std::move(value)); return *this; }
257 
265  inline UpdateUsageResult& AddItems(const char* key, Aws::Vector<Aws::Vector<long long>>&& value) { m_items.emplace(key, std::move(value)); return *this; }
266 
274  inline UpdateUsageResult& AddItems(const char* key, const Aws::Vector<Aws::Vector<long long>>& value) { m_items.emplace(key, value); return *this; }
275 
276  private:
277 
278  Aws::String m_usagePlanId;
279 
280  Aws::String m_startDate;
281 
282  Aws::String m_endDate;
283 
284  Aws::String m_position;
285 
287  };
288 
289 } // namespace Model
290 } // namespace APIGateway
291 } // namespace Aws
Aws::APIGateway::Model::UpdateUsageResult::GetItems
const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > & GetItems() const
Definition: UpdateUsageResult.h:184
Aws::APIGateway::Model::UpdateUsageResult::WithUsagePlanId
UpdateUsageResult & WithUsagePlanId(const char *value)
Definition: UpdateUsageResult.h:80
Aws::APIGateway::Model::UpdateUsageResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: UpdateUsageResult.h:162
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::UpdateUsageResult::WithStartDate
UpdateUsageResult & WithStartDate(const Aws::String &value)
Definition: UpdateUsageResult.h:106
Aws::APIGateway::Model::UpdateUsageResult::WithEndDate
UpdateUsageResult & WithEndDate(Aws::String &&value)
Definition: UpdateUsageResult.h:147
Aws::APIGateway::Model::UpdateUsageResult::AddItems
UpdateUsageResult & AddItems(const char *key, Aws::Vector< Aws::Vector< long long >> &&value)
Definition: UpdateUsageResult.h:265
Aws::APIGateway::Model::UpdateUsageResult::SetEndDate
void SetEndDate(Aws::String &&value)
Definition: UpdateUsageResult.h:132
Aws::APIGateway::Model::UpdateUsageResult::WithUsagePlanId
UpdateUsageResult & WithUsagePlanId(const Aws::String &value)
Definition: UpdateUsageResult.h:70
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateUsageResult::SetPosition
void SetPosition(const char *value)
Definition: UpdateUsageResult.h:165
Aws::APIGateway::Model::UpdateUsageResult::AddItems
UpdateUsageResult & AddItems(Aws::String &&key, Aws::Vector< Aws::Vector< long long >> &&value)
Definition: UpdateUsageResult.h:256
Aws::APIGateway::Model::UpdateUsageResult::GetEndDate
const Aws::String & GetEndDate() const
Definition: UpdateUsageResult.h:122
Aws::APIGateway::Model::UpdateUsageResult::GetPosition
const Aws::String & GetPosition() const
Definition: UpdateUsageResult.h:156
Aws::APIGateway::Model::UpdateUsageResult::UpdateUsageResult
UpdateUsageResult()
Aws::APIGateway::Model::UpdateUsageResult::SetEndDate
void SetEndDate(const Aws::String &value)
Definition: UpdateUsageResult.h:127
Aws::APIGateway::Model::UpdateUsageResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: UpdateUsageResult.h:159
Aws::APIGateway::Model::UpdateUsageResult::SetUsagePlanId
void SetUsagePlanId(const char *value)
Definition: UpdateUsageResult.h:65
Aws::APIGateway::Model::UpdateUsageResult::WithPosition
UpdateUsageResult & WithPosition(const Aws::String &value)
Definition: UpdateUsageResult.h:168
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::UpdateUsageResult::SetItems
void SetItems(Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long >>> &&value)
Definition: UpdateUsageResult.h:202
AWSVector.h
Aws::APIGateway::Model::UpdateUsageResult::WithEndDate
UpdateUsageResult & WithEndDate(const char *value)
Definition: UpdateUsageResult.h:152
Aws::APIGateway::Model::UpdateUsageResult::WithPosition
UpdateUsageResult & WithPosition(const char *value)
Definition: UpdateUsageResult.h:174
Aws::APIGateway::Model::UpdateUsageResult
Definition: UpdateUsageResult.h:40
Aws::APIGateway::Model::UpdateUsageResult::operator=
UpdateUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateUsageResult::WithStartDate
UpdateUsageResult & WithStartDate(Aws::String &&value)
Definition: UpdateUsageResult.h:111
Aws::APIGateway::Model::UpdateUsageResult::SetUsagePlanId
void SetUsagePlanId(Aws::String &&value)
Definition: UpdateUsageResult.h:60
Aws::APIGateway::Model::UpdateUsageResult::SetStartDate
void SetStartDate(Aws::String &&value)
Definition: UpdateUsageResult.h:96
AWSString.h
Aws::APIGateway::Model::UpdateUsageResult::SetUsagePlanId
void SetUsagePlanId(const Aws::String &value)
Definition: UpdateUsageResult.h:55
Aws::APIGateway::Model::UpdateUsageResult::AddItems
UpdateUsageResult & AddItems(const Aws::String &key, const Aws::Vector< Aws::Vector< long long >> &value)
Definition: UpdateUsageResult.h:229
Aws::APIGateway::Model::UpdateUsageResult::AddItems
UpdateUsageResult & AddItems(Aws::String &&key, const Aws::Vector< Aws::Vector< long long >> &value)
Definition: UpdateUsageResult.h:238
Aws::APIGateway::Model::UpdateUsageResult::WithUsagePlanId
UpdateUsageResult & WithUsagePlanId(Aws::String &&value)
Definition: UpdateUsageResult.h:75
Aws::APIGateway::Model::UpdateUsageResult::SetEndDate
void SetEndDate(const char *value)
Definition: UpdateUsageResult.h:137
Aws::APIGateway::Model::UpdateUsageResult::AddItems
UpdateUsageResult & AddItems(const char *key, const Aws::Vector< Aws::Vector< long long >> &value)
Definition: UpdateUsageResult.h:274
Aws::APIGateway::Model::UpdateUsageResult::WithItems
UpdateUsageResult & WithItems(Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long >>> &&value)
Definition: UpdateUsageResult.h:220
Aws::APIGateway::Model::UpdateUsageResult::WithEndDate
UpdateUsageResult & WithEndDate(const Aws::String &value)
Definition: UpdateUsageResult.h:142
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateUsageResult::SetStartDate
void SetStartDate(const char *value)
Definition: UpdateUsageResult.h:101
Aws::APIGateway::Model::UpdateUsageResult::WithItems
UpdateUsageResult & WithItems(const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long >>> &value)
Definition: UpdateUsageResult.h:211
Aws::APIGateway::Model::UpdateUsageResult::GetUsagePlanId
const Aws::String & GetUsagePlanId() const
Definition: UpdateUsageResult.h:50
Aws::APIGateway::Model::UpdateUsageResult::WithStartDate
UpdateUsageResult & WithStartDate(const char *value)
Definition: UpdateUsageResult.h:116
Aws::APIGateway::Model::UpdateUsageResult::UpdateUsageResult
UpdateUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateUsageResult::WithPosition
UpdateUsageResult & WithPosition(Aws::String &&value)
Definition: UpdateUsageResult.h:171
Aws::APIGateway::Model::UpdateUsageResult::GetStartDate
const Aws::String & GetStartDate() const
Definition: UpdateUsageResult.h:86
Aws::APIGateway::Model::UpdateUsageResult::SetStartDate
void SetStartDate(const Aws::String &value)
Definition: UpdateUsageResult.h:91
Aws::APIGateway::Model::UpdateUsageResult::SetItems
void SetItems(const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long >>> &value)
Definition: UpdateUsageResult.h:193
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::APIGateway::Model::UpdateUsageResult::AddItems
UpdateUsageResult & AddItems(const Aws::String &key, Aws::Vector< Aws::Vector< long long >> &&value)
Definition: UpdateUsageResult.h:247