AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
DescribeConnectionProposalResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/interconnect/Interconnect_EXPORTS.h>
11#include <aws/interconnect/model/Provider.h>
12
13#include <utility>
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Cbor {
20class CborValue;
21} // namespace Cbor
22} // namespace Utils
23namespace Interconnect {
24namespace Model {
26 public:
27 AWS_INTERCONNECT_API DescribeConnectionProposalResult() = default;
30
32
35 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
36 template <typename BandwidthT = Aws::String>
37 void SetBandwidth(BandwidthT&& value) {
38 m_bandwidthHasBeenSet = true;
39 m_bandwidth = std::forward<BandwidthT>(value);
40 }
41 template <typename BandwidthT = Aws::String>
43 SetBandwidth(std::forward<BandwidthT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
54 template <typename EnvironmentIdT = Aws::String>
55 void SetEnvironmentId(EnvironmentIdT&& value) {
56 m_environmentIdHasBeenSet = true;
57 m_environmentId = std::forward<EnvironmentIdT>(value);
58 }
59 template <typename EnvironmentIdT = Aws::String>
61 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
62 return *this;
63 }
65
67
70 inline const Provider& GetProvider() const { return m_provider; }
71 template <typename ProviderT = Provider>
72 void SetProvider(ProviderT&& value) {
73 m_providerHasBeenSet = true;
74 m_provider = std::forward<ProviderT>(value);
75 }
76 template <typename ProviderT = Provider>
78 SetProvider(std::forward<ProviderT>(value));
79 return *this;
80 }
82
84
88 inline const Aws::String& GetLocation() const { return m_location; }
89 template <typename LocationT = Aws::String>
90 void SetLocation(LocationT&& value) {
91 m_locationHasBeenSet = true;
92 m_location = std::forward<LocationT>(value);
93 }
94 template <typename LocationT = Aws::String>
96 SetLocation(std::forward<LocationT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_bandwidth;
119
120 Aws::String m_environmentId;
121
122 Provider m_provider;
123
124 Aws::String m_location;
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_bandwidthHasBeenSet = false;
129 bool m_environmentIdHasBeenSet = false;
130 bool m_providerHasBeenSet = false;
131 bool m_locationHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace Interconnect
137} // namespace Aws
DescribeConnectionProposalResult & WithBandwidth(BandwidthT &&value)
AWS_INTERCONNECT_API DescribeConnectionProposalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeConnectionProposalResult & WithRequestId(RequestIdT &&value)
AWS_INTERCONNECT_API DescribeConnectionProposalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeConnectionProposalResult & WithLocation(LocationT &&value)
DescribeConnectionProposalResult & WithEnvironmentId(EnvironmentIdT &&value)
AWS_INTERCONNECT_API DescribeConnectionProposalResult()=default
DescribeConnectionProposalResult & WithProvider(ProviderT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String