AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
ApiGatewayProxyInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
9#include <aws/migration-hub-refactor-spaces/model/ApiGatewayEndpointType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MigrationHubRefactorSpaces {
21namespace Model {
22
30 public:
31 AWS_MIGRATIONHUBREFACTORSPACES_API ApiGatewayProxyInput() = default;
32 AWS_MIGRATIONHUBREFACTORSPACES_API ApiGatewayProxyInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MIGRATIONHUBREFACTORSPACES_API ApiGatewayProxyInput& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
51 inline ApiGatewayEndpointType GetEndpointType() const { return m_endpointType; }
52 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
54 m_endpointTypeHasBeenSet = true;
55 m_endpointType = value;
56 }
58 SetEndpointType(value);
59 return *this;
60 }
62
64
68 inline const Aws::String& GetStageName() const { return m_stageName; }
69 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
70 template <typename StageNameT = Aws::String>
71 void SetStageName(StageNameT&& value) {
72 m_stageNameHasBeenSet = true;
73 m_stageName = std::forward<StageNameT>(value);
74 }
75 template <typename StageNameT = Aws::String>
76 ApiGatewayProxyInput& WithStageName(StageNameT&& value) {
77 SetStageName(std::forward<StageNameT>(value));
78 return *this;
79 }
81 private:
83
84 Aws::String m_stageName;
85 bool m_endpointTypeHasBeenSet = false;
86 bool m_stageNameHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace MigrationHubRefactorSpaces
91} // namespace Aws
ApiGatewayProxyInput & WithEndpointType(ApiGatewayEndpointType value)
ApiGatewayProxyInput & WithStageName(StageNameT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBREFACTORSPACES_API ApiGatewayProxyInput()=default
AWS_MIGRATIONHUBREFACTORSPACES_API ApiGatewayProxyInput(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBREFACTORSPACES_API ApiGatewayProxyInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue