AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSdkRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace APIGateway
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APIGATEWAY_API GetSdkRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "GetSdk"; }
40
41 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
42
43 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
50 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
51 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
52 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
53 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
54 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
55 inline GetSdkRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
56 inline GetSdkRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
57 inline GetSdkRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
59
61
64 inline const Aws::String& GetStageName() const{ return m_stageName; }
65 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
66 inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
67 inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
68 inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
69 inline GetSdkRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
70 inline GetSdkRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
71 inline GetSdkRequest& WithStageName(const char* value) { SetStageName(value); return *this;}
73
75
80 inline const Aws::String& GetSdkType() const{ return m_sdkType; }
81 inline bool SdkTypeHasBeenSet() const { return m_sdkTypeHasBeenSet; }
82 inline void SetSdkType(const Aws::String& value) { m_sdkTypeHasBeenSet = true; m_sdkType = value; }
83 inline void SetSdkType(Aws::String&& value) { m_sdkTypeHasBeenSet = true; m_sdkType = std::move(value); }
84 inline void SetSdkType(const char* value) { m_sdkTypeHasBeenSet = true; m_sdkType.assign(value); }
85 inline GetSdkRequest& WithSdkType(const Aws::String& value) { SetSdkType(value); return *this;}
86 inline GetSdkRequest& WithSdkType(Aws::String&& value) { SetSdkType(std::move(value)); return *this;}
87 inline GetSdkRequest& WithSdkType(const char* value) { SetSdkType(value); return *this;}
89
91
102 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
103 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
104 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
105 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
107 inline GetSdkRequest& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
108 inline GetSdkRequest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
109 inline GetSdkRequest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
110 inline GetSdkRequest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
111 inline GetSdkRequest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
112 inline GetSdkRequest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
113 inline GetSdkRequest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
114 inline GetSdkRequest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
116 private:
117
118 Aws::String m_restApiId;
119 bool m_restApiIdHasBeenSet = false;
120
121 Aws::String m_stageName;
122 bool m_stageNameHasBeenSet = false;
123
124 Aws::String m_sdkType;
125 bool m_sdkTypeHasBeenSet = false;
126
128 bool m_parametersHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace APIGateway
133} // namespace Aws
void SetSdkType(const Aws::String &value)
GetSdkRequest & WithStageName(const Aws::String &value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetSdkRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetStageName() const
GetSdkRequest & AddParameters(Aws::String &&key, const char *value)
GetSdkRequest & WithRestApiId(const Aws::String &value)
void SetRestApiId(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetSdkRequest & WithRestApiId(Aws::String &&value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetStageName(const Aws::String &value)
GetSdkRequest & AddParameters(const char *key, Aws::String &&value)
const Aws::String & GetSdkType() const
void SetRestApiId(Aws::String &&value)
GetSdkRequest & AddParameters(Aws::String &&key, Aws::String &&value)
void SetSdkType(const char *value)
GetSdkRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetSdkRequest & WithSdkType(const Aws::String &value)
void SetRestApiId(const char *value)
GetSdkRequest & WithSdkType(Aws::String &&value)
GetSdkRequest & AddParameters(Aws::String &&key, const Aws::String &value)
GetSdkRequest & AddParameters(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetRestApiId() const
GetSdkRequest & WithStageName(const char *value)
void SetSdkType(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetStageName(const char *value)
GetSdkRequest & WithStageName(Aws::String &&value)
GetSdkRequest & AddParameters(const Aws::String &key, Aws::String &&value)
GetSdkRequest & WithSdkType(const char *value)
GetSdkRequest & WithRestApiId(const char *value)
GetSdkRequest & AddParameters(const Aws::String &key, const Aws::String &value)
void SetStageName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String