AWS SDK for C++  1.8.71
AWS SDK for C++
GetDocumentationVersionRequest.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 "GetDocumentationVersion"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
42 
46  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
47 
51  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
52 
56  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
57 
61  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
62 
66  inline GetDocumentationVersionRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
67 
71  inline GetDocumentationVersionRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
72 
76  inline GetDocumentationVersionRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
77 
78 
83  inline const Aws::String& GetDocumentationVersion() const{ return m_documentationVersion; }
84 
89  inline bool DocumentationVersionHasBeenSet() const { return m_documentationVersionHasBeenSet; }
90 
95  inline void SetDocumentationVersion(const Aws::String& value) { m_documentationVersionHasBeenSet = true; m_documentationVersion = value; }
96 
101  inline void SetDocumentationVersion(Aws::String&& value) { m_documentationVersionHasBeenSet = true; m_documentationVersion = std::move(value); }
102 
107  inline void SetDocumentationVersion(const char* value) { m_documentationVersionHasBeenSet = true; m_documentationVersion.assign(value); }
108 
113  inline GetDocumentationVersionRequest& WithDocumentationVersion(const Aws::String& value) { SetDocumentationVersion(value); return *this;}
114 
119  inline GetDocumentationVersionRequest& WithDocumentationVersion(Aws::String&& value) { SetDocumentationVersion(std::move(value)); return *this;}
120 
125  inline GetDocumentationVersionRequest& WithDocumentationVersion(const char* value) { SetDocumentationVersion(value); return *this;}
126 
127  private:
128 
129  Aws::String m_restApiId;
130  bool m_restApiIdHasBeenSet;
131 
132  Aws::String m_documentationVersion;
133  bool m_documentationVersionHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace APIGateway
138 } // namespace Aws
GetDocumentationVersionRequest & WithDocumentationVersion(const Aws::String &value)
GetDocumentationVersionRequest & WithRestApiId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetDocumentationVersionRequest & WithDocumentationVersion(Aws::String &&value)
#define AWS_APIGATEWAY_API
GetDocumentationVersionRequest & WithDocumentationVersion(const char *value)
GetDocumentationVersionRequest & WithRestApiId(const Aws::String &value)
GetDocumentationVersionRequest & WithRestApiId(Aws::String &&value)