AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
DescribeExpressGatewayServiceRequest.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/ecs/ECSRequest.h>
10#include <aws/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/ExpressGatewayServiceInclude.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ECS {
17namespace Model {
18
22 public:
23 AWS_ECS_API DescribeExpressGatewayServiceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeExpressGatewayService"; }
30
31 AWS_ECS_API Aws::String SerializePayload() const override;
32
34
36
41 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
42 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
43 template <typename ServiceArnT = Aws::String>
44 void SetServiceArn(ServiceArnT&& value) {
45 m_serviceArnHasBeenSet = true;
46 m_serviceArn = std::forward<ServiceArnT>(value);
47 }
48 template <typename ServiceArnT = Aws::String>
50 SetServiceArn(std::forward<ServiceArnT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::Vector<ExpressGatewayServiceInclude>& GetInclude() const { return m_include; }
62 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
63 template <typename IncludeT = Aws::Vector<ExpressGatewayServiceInclude>>
64 void SetInclude(IncludeT&& value) {
65 m_includeHasBeenSet = true;
66 m_include = std::forward<IncludeT>(value);
67 }
68 template <typename IncludeT = Aws::Vector<ExpressGatewayServiceInclude>>
70 SetInclude(std::forward<IncludeT>(value));
71 return *this;
72 }
74 m_includeHasBeenSet = true;
75 m_include.push_back(value);
76 return *this;
77 }
79 private:
80 Aws::String m_serviceArn;
81
83 bool m_serviceArnHasBeenSet = false;
84 bool m_includeHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace ECS
89} // namespace Aws
const Aws::Vector< ExpressGatewayServiceInclude > & GetInclude() const
AWS_ECS_API Aws::String SerializePayload() const override
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeExpressGatewayServiceRequest & AddInclude(ExpressGatewayServiceInclude value)
DescribeExpressGatewayServiceRequest & WithInclude(IncludeT &&value)
DescribeExpressGatewayServiceRequest & WithServiceArn(ServiceArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector