AWS SDK for C++

AWS SDK for C++ Version 1.11.711

Loading...
Searching...
No Matches
StartConnectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/outposts/Outposts_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Outposts {
22namespace Model {
24 public:
25 AWS_OUTPOSTS_API StartConnectionResult() = default;
28
30
33 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
34 template <typename ConnectionIdT = Aws::String>
35 void SetConnectionId(ConnectionIdT&& value) {
36 m_connectionIdHasBeenSet = true;
37 m_connectionId = std::forward<ConnectionIdT>(value);
38 }
39 template <typename ConnectionIdT = Aws::String>
40 StartConnectionResult& WithConnectionId(ConnectionIdT&& value) {
41 SetConnectionId(std::forward<ConnectionIdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetUnderlayIpAddress() const { return m_underlayIpAddress; }
51 template <typename UnderlayIpAddressT = Aws::String>
52 void SetUnderlayIpAddress(UnderlayIpAddressT&& value) {
53 m_underlayIpAddressHasBeenSet = true;
54 m_underlayIpAddress = std::forward<UnderlayIpAddressT>(value);
55 }
56 template <typename UnderlayIpAddressT = Aws::String>
57 StartConnectionResult& WithUnderlayIpAddress(UnderlayIpAddressT&& value) {
58 SetUnderlayIpAddress(std::forward<UnderlayIpAddressT>(value));
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
72 StartConnectionResult& WithRequestId(RequestIdT&& value) {
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_connectionId;
79
80 Aws::String m_underlayIpAddress;
81
82 Aws::String m_requestId;
83 bool m_connectionIdHasBeenSet = false;
84 bool m_underlayIpAddressHasBeenSet = false;
85 bool m_requestIdHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace Outposts
90} // namespace Aws
void SetUnderlayIpAddress(UnderlayIpAddressT &&value)
AWS_OUTPOSTS_API StartConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OUTPOSTS_API StartConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartConnectionResult & WithRequestId(RequestIdT &&value)
StartConnectionResult & WithConnectionId(ConnectionIdT &&value)
AWS_OUTPOSTS_API StartConnectionResult()=default
StartConnectionResult & WithUnderlayIpAddress(UnderlayIpAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue