AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetDedicatedIpResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
9#include <aws/pinpoint-email/model/DedicatedIp.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace PinpointEmail {
23namespace Model {
30 public:
31 AWS_PINPOINTEMAIL_API GetDedicatedIpResult() = default;
34
36
39 inline const DedicatedIp& GetDedicatedIp() const { return m_dedicatedIp; }
40 template <typename DedicatedIpT = DedicatedIp>
41 void SetDedicatedIp(DedicatedIpT&& value) {
42 m_dedicatedIpHasBeenSet = true;
43 m_dedicatedIp = std::forward<DedicatedIpT>(value);
44 }
45 template <typename DedicatedIpT = DedicatedIp>
46 GetDedicatedIpResult& WithDedicatedIp(DedicatedIpT&& value) {
47 SetDedicatedIp(std::forward<DedicatedIpT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
61 GetDedicatedIpResult& WithRequestId(RequestIdT&& value) {
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 private:
67 DedicatedIp m_dedicatedIp;
68 bool m_dedicatedIpHasBeenSet = false;
69
70 Aws::String m_requestId;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace PinpointEmail
76} // namespace Aws
GetDedicatedIpResult & WithRequestId(RequestIdT &&value)
AWS_PINPOINTEMAIL_API GetDedicatedIpResult()=default
AWS_PINPOINTEMAIL_API GetDedicatedIpResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PINPOINTEMAIL_API GetDedicatedIpResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDedicatedIpResult & WithDedicatedIp(DedicatedIpT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue