AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetDedicatedIpsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
11#include <aws/pinpoint-email/model/DedicatedIp.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace PinpointEmail {
25namespace Model {
33 public:
34 AWS_PINPOINTEMAIL_API GetDedicatedIpsResult() = default;
37
39
43 inline const Aws::Vector<DedicatedIp>& GetDedicatedIps() const { return m_dedicatedIps; }
44 template <typename DedicatedIpsT = Aws::Vector<DedicatedIp>>
45 void SetDedicatedIps(DedicatedIpsT&& value) {
46 m_dedicatedIpsHasBeenSet = true;
47 m_dedicatedIps = std::forward<DedicatedIpsT>(value);
48 }
49 template <typename DedicatedIpsT = Aws::Vector<DedicatedIp>>
50 GetDedicatedIpsResult& WithDedicatedIps(DedicatedIpsT&& value) {
51 SetDedicatedIps(std::forward<DedicatedIpsT>(value));
52 return *this;
53 }
54 template <typename DedicatedIpsT = DedicatedIp>
55 GetDedicatedIpsResult& AddDedicatedIps(DedicatedIpsT&& value) {
56 m_dedicatedIpsHasBeenSet = true;
57 m_dedicatedIps.emplace_back(std::forward<DedicatedIpsT>(value));
58 return *this;
59 }
61
63
69 inline const Aws::String& GetNextToken() const { return m_nextToken; }
70 template <typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) {
72 m_nextTokenHasBeenSet = true;
73 m_nextToken = std::forward<NextTokenT>(value);
74 }
75 template <typename NextTokenT = Aws::String>
76 GetDedicatedIpsResult& WithNextToken(NextTokenT&& value) {
77 SetNextToken(std::forward<NextTokenT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 GetDedicatedIpsResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::Vector<DedicatedIp> m_dedicatedIps;
100
101 Aws::String m_nextToken;
102
103 Aws::String m_requestId;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_dedicatedIpsHasBeenSet = false;
106 bool m_nextTokenHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace PinpointEmail
112} // namespace Aws
GetDedicatedIpsResult & AddDedicatedIps(DedicatedIpsT &&value)
const Aws::Vector< DedicatedIp > & GetDedicatedIps() const
AWS_PINPOINTEMAIL_API GetDedicatedIpsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDedicatedIpsResult & WithRequestId(RequestIdT &&value)
AWS_PINPOINTEMAIL_API GetDedicatedIpsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetDedicatedIpsResult & WithNextToken(NextTokenT &&value)
GetDedicatedIpsResult & WithDedicatedIps(DedicatedIpsT &&value)
AWS_PINPOINTEMAIL_API GetDedicatedIpsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue