AWS SDK for C++

AWS SDK for C++ Version 1.11.921

Loading...
Searching...
No Matches
DescribeGatewayResourcesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/GatewayResources.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 ECS {
24namespace Model {
26 public:
27 AWS_ECS_API DescribeGatewayResourcesResult() = default;
30
32
36 inline const GatewayResources& GetGatewayResources() const { return m_gatewayResources; }
37 template <typename GatewayResourcesT = GatewayResources>
38 void SetGatewayResources(GatewayResourcesT&& value) {
39 m_gatewayResourcesHasBeenSet = true;
40 m_gatewayResources = std::forward<GatewayResourcesT>(value);
41 }
42 template <typename GatewayResourcesT = GatewayResources>
44 SetGatewayResources(std::forward<GatewayResourcesT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetNextToken() const { return m_nextToken; }
56 template <typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) {
58 m_nextTokenHasBeenSet = true;
59 m_nextToken = std::forward<NextTokenT>(value);
60 }
61 template <typename NextTokenT = Aws::String>
63 SetNextToken(std::forward<NextTokenT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 GatewayResources m_gatewayResources;
86
87 Aws::String m_nextToken;
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_gatewayResourcesHasBeenSet = false;
92 bool m_nextTokenHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace ECS
98} // namespace Aws
DescribeGatewayResourcesResult & WithNextToken(NextTokenT &&value)
DescribeGatewayResourcesResult & WithRequestId(RequestIdT &&value)
AWS_ECS_API DescribeGatewayResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECS_API DescribeGatewayResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGatewayResourcesResult & WithGatewayResources(GatewayResourcesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue