AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetDedicatedIpsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
10#include <aws/pinpoint-email/model/DedicatedIp.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace PinpointEmail {
24namespace Model {
32 public:
33 AWS_PINPOINTEMAIL_API GetDedicatedIpsResult() = default;
36
38
42 inline const Aws::Vector<DedicatedIp>& GetDedicatedIps() const { return m_dedicatedIps; }
43 template <typename DedicatedIpsT = Aws::Vector<DedicatedIp>>
44 void SetDedicatedIps(DedicatedIpsT&& value) {
45 m_dedicatedIpsHasBeenSet = true;
46 m_dedicatedIps = std::forward<DedicatedIpsT>(value);
47 }
48 template <typename DedicatedIpsT = Aws::Vector<DedicatedIp>>
49 GetDedicatedIpsResult& WithDedicatedIps(DedicatedIpsT&& value) {
50 SetDedicatedIps(std::forward<DedicatedIpsT>(value));
51 return *this;
52 }
53 template <typename DedicatedIpsT = DedicatedIp>
54 GetDedicatedIpsResult& AddDedicatedIps(DedicatedIpsT&& value) {
55 m_dedicatedIpsHasBeenSet = true;
56 m_dedicatedIps.emplace_back(std::forward<DedicatedIpsT>(value));
57 return *this;
58 }
60
62
68 inline const Aws::String& GetNextToken() const { return m_nextToken; }
69 template <typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) {
71 m_nextTokenHasBeenSet = true;
72 m_nextToken = std::forward<NextTokenT>(value);
73 }
74 template <typename NextTokenT = Aws::String>
75 GetDedicatedIpsResult& WithNextToken(NextTokenT&& value) {
76 SetNextToken(std::forward<NextTokenT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
90 GetDedicatedIpsResult& WithRequestId(RequestIdT&& value) {
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 private:
96 Aws::Vector<DedicatedIp> m_dedicatedIps;
97 bool m_dedicatedIpsHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace PinpointEmail
108} // 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)
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