AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetOfferingStatusResult.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/OfferingStatus.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 DeviceFarm
26{
27namespace Model
28{
36 {
37 public:
38 AWS_DEVICEFARM_API GetOfferingStatusResult();
41
42
44
47 inline const Aws::Map<Aws::String, OfferingStatus>& GetCurrent() const{ return m_current; }
48 inline void SetCurrent(const Aws::Map<Aws::String, OfferingStatus>& value) { m_current = value; }
49 inline void SetCurrent(Aws::Map<Aws::String, OfferingStatus>&& value) { m_current = std::move(value); }
51 inline GetOfferingStatusResult& WithCurrent(Aws::Map<Aws::String, OfferingStatus>&& value) { SetCurrent(std::move(value)); return *this;}
52 inline GetOfferingStatusResult& AddCurrent(const Aws::String& key, const OfferingStatus& value) { m_current.emplace(key, value); return *this; }
53 inline GetOfferingStatusResult& AddCurrent(Aws::String&& key, const OfferingStatus& value) { m_current.emplace(std::move(key), value); return *this; }
54 inline GetOfferingStatusResult& AddCurrent(const Aws::String& key, OfferingStatus&& value) { m_current.emplace(key, std::move(value)); return *this; }
55 inline GetOfferingStatusResult& AddCurrent(Aws::String&& key, OfferingStatus&& value) { m_current.emplace(std::move(key), std::move(value)); return *this; }
56 inline GetOfferingStatusResult& AddCurrent(const char* key, OfferingStatus&& value) { m_current.emplace(key, std::move(value)); return *this; }
57 inline GetOfferingStatusResult& AddCurrent(const char* key, const OfferingStatus& value) { m_current.emplace(key, value); return *this; }
59
61
64 inline const Aws::Map<Aws::String, OfferingStatus>& GetNextPeriod() const{ return m_nextPeriod; }
65 inline void SetNextPeriod(const Aws::Map<Aws::String, OfferingStatus>& value) { m_nextPeriod = value; }
66 inline void SetNextPeriod(Aws::Map<Aws::String, OfferingStatus>&& value) { m_nextPeriod = std::move(value); }
69 inline GetOfferingStatusResult& AddNextPeriod(const Aws::String& key, const OfferingStatus& value) { m_nextPeriod.emplace(key, value); return *this; }
70 inline GetOfferingStatusResult& AddNextPeriod(Aws::String&& key, const OfferingStatus& value) { m_nextPeriod.emplace(std::move(key), value); return *this; }
71 inline GetOfferingStatusResult& AddNextPeriod(const Aws::String& key, OfferingStatus&& value) { m_nextPeriod.emplace(key, std::move(value)); return *this; }
72 inline GetOfferingStatusResult& AddNextPeriod(Aws::String&& key, OfferingStatus&& value) { m_nextPeriod.emplace(std::move(key), std::move(value)); return *this; }
73 inline GetOfferingStatusResult& AddNextPeriod(const char* key, OfferingStatus&& value) { m_nextPeriod.emplace(key, std::move(value)); return *this; }
74 inline GetOfferingStatusResult& AddNextPeriod(const char* key, const OfferingStatus& value) { m_nextPeriod.emplace(key, value); return *this; }
76
78
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
85 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
86 inline GetOfferingStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 inline GetOfferingStatusResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
88 inline GetOfferingStatusResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline GetOfferingStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline GetOfferingStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline GetOfferingStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
104
106
107 Aws::String m_nextToken;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace DeviceFarm
114} // namespace Aws
GetOfferingStatusResult & AddNextPeriod(const char *key, const OfferingStatus &value)
AWS_DEVICEFARM_API GetOfferingStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOfferingStatusResult & WithRequestId(Aws::String &&value)
GetOfferingStatusResult & AddNextPeriod(Aws::String &&key, const OfferingStatus &value)
GetOfferingStatusResult & WithNextPeriod(Aws::Map< Aws::String, OfferingStatus > &&value)
GetOfferingStatusResult & AddNextPeriod(const char *key, OfferingStatus &&value)
GetOfferingStatusResult & WithNextToken(const char *value)
GetOfferingStatusResult & WithNextToken(Aws::String &&value)
const Aws::Map< Aws::String, OfferingStatus > & GetCurrent() const
GetOfferingStatusResult & WithCurrent(const Aws::Map< Aws::String, OfferingStatus > &value)
GetOfferingStatusResult & WithCurrent(Aws::Map< Aws::String, OfferingStatus > &&value)
GetOfferingStatusResult & AddCurrent(const char *key, const OfferingStatus &value)
void SetNextPeriod(Aws::Map< Aws::String, OfferingStatus > &&value)
GetOfferingStatusResult & WithNextToken(const Aws::String &value)
void SetCurrent(Aws::Map< Aws::String, OfferingStatus > &&value)
GetOfferingStatusResult & AddNextPeriod(const Aws::String &key, const OfferingStatus &value)
void SetNextPeriod(const Aws::Map< Aws::String, OfferingStatus > &value)
GetOfferingStatusResult & WithRequestId(const char *value)
GetOfferingStatusResult & WithRequestId(const Aws::String &value)
GetOfferingStatusResult & AddCurrent(const char *key, OfferingStatus &&value)
const Aws::Map< Aws::String, OfferingStatus > & GetNextPeriod() const
GetOfferingStatusResult & AddCurrent(const Aws::String &key, OfferingStatus &&value)
GetOfferingStatusResult & AddCurrent(Aws::String &&key, OfferingStatus &&value)
GetOfferingStatusResult & AddNextPeriod(Aws::String &&key, OfferingStatus &&value)
void SetCurrent(const Aws::Map< Aws::String, OfferingStatus > &value)
GetOfferingStatusResult & AddNextPeriod(const Aws::String &key, OfferingStatus &&value)
AWS_DEVICEFARM_API GetOfferingStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOfferingStatusResult & AddCurrent(const Aws::String &key, const OfferingStatus &value)
GetOfferingStatusResult & WithNextPeriod(const Aws::Map< Aws::String, OfferingStatus > &value)
GetOfferingStatusResult & AddCurrent(Aws::String &&key, const OfferingStatus &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
Aws::Utils::Json::JsonValue JsonValue