AWS SDK for C++  1.9.129
AWS SDK for C++
GetSdkTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace APIGateway
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "GetSdkType"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetId() const{ return m_id; }
42 
46  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 
51  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 
56  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 
61  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
62 
66  inline GetSdkTypeRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
67 
71  inline GetSdkTypeRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 
76  inline GetSdkTypeRequest& WithId(const char* value) { SetId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_id;
81  bool m_idHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace APIGateway
86 } // namespace Aws
Aws::APIGateway::Model::GetSdkTypeRequest::GetId
const Aws::String & GetId() const
Definition: GetSdkTypeRequest.h:41
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetSdkTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSdkTypeRequest.h:33
APIGateway_EXPORTS.h
APIGatewayRequest.h
AWSString.h
Aws::APIGateway::Model::GetSdkTypeRequest::WithId
GetSdkTypeRequest & WithId(Aws::String &&value)
Definition: GetSdkTypeRequest.h:71
Aws::APIGateway::Model::GetSdkTypeRequest::WithId
GetSdkTypeRequest & WithId(const Aws::String &value)
Definition: GetSdkTypeRequest.h:66
Aws::APIGateway::Model::GetSdkTypeRequest::GetSdkTypeRequest
GetSdkTypeRequest()
Aws::APIGateway::Model::GetSdkTypeRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: GetSdkTypeRequest.h:46
Aws::APIGateway::Model::GetSdkTypeRequest::WithId
GetSdkTypeRequest & WithId(const char *value)
Definition: GetSdkTypeRequest.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetSdkTypeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetSdkTypeRequest::SetId
void SetId(const char *value)
Definition: GetSdkTypeRequest.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetSdkTypeRequest::SetId
void SetId(const Aws::String &value)
Definition: GetSdkTypeRequest.h:51
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetSdkTypeRequest::SetId
void SetId(Aws::String &&value)
Definition: GetSdkTypeRequest.h:56
Aws::APIGateway::Model::GetSdkTypeRequest
Definition: GetSdkTypeRequest.h:25