AWS SDK for C++  1.8.129
AWS SDK for C++
GetFunctionDefinitionVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Greengrass
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetFunctionDefinitionVersion"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetFunctionDefinitionId() const{ return m_functionDefinitionId; }
45 
49  inline bool FunctionDefinitionIdHasBeenSet() const { return m_functionDefinitionIdHasBeenSet; }
50 
54  inline void SetFunctionDefinitionId(const Aws::String& value) { m_functionDefinitionIdHasBeenSet = true; m_functionDefinitionId = value; }
55 
59  inline void SetFunctionDefinitionId(Aws::String&& value) { m_functionDefinitionIdHasBeenSet = true; m_functionDefinitionId = std::move(value); }
60 
64  inline void SetFunctionDefinitionId(const char* value) { m_functionDefinitionIdHasBeenSet = true; m_functionDefinitionId.assign(value); }
65 
69  inline GetFunctionDefinitionVersionRequest& WithFunctionDefinitionId(const Aws::String& value) { SetFunctionDefinitionId(value); return *this;}
70 
74  inline GetFunctionDefinitionVersionRequest& WithFunctionDefinitionId(Aws::String&& value) { SetFunctionDefinitionId(std::move(value)); return *this;}
75 
79  inline GetFunctionDefinitionVersionRequest& WithFunctionDefinitionId(const char* value) { SetFunctionDefinitionId(value); return *this;}
80 
81 
90  inline const Aws::String& GetFunctionDefinitionVersionId() const{ return m_functionDefinitionVersionId; }
91 
100  inline bool FunctionDefinitionVersionIdHasBeenSet() const { return m_functionDefinitionVersionIdHasBeenSet; }
101 
110  inline void SetFunctionDefinitionVersionId(const Aws::String& value) { m_functionDefinitionVersionIdHasBeenSet = true; m_functionDefinitionVersionId = value; }
111 
120  inline void SetFunctionDefinitionVersionId(Aws::String&& value) { m_functionDefinitionVersionIdHasBeenSet = true; m_functionDefinitionVersionId = std::move(value); }
121 
130  inline void SetFunctionDefinitionVersionId(const char* value) { m_functionDefinitionVersionIdHasBeenSet = true; m_functionDefinitionVersionId.assign(value); }
131 
140  inline GetFunctionDefinitionVersionRequest& WithFunctionDefinitionVersionId(const Aws::String& value) { SetFunctionDefinitionVersionId(value); return *this;}
141 
150  inline GetFunctionDefinitionVersionRequest& WithFunctionDefinitionVersionId(Aws::String&& value) { SetFunctionDefinitionVersionId(std::move(value)); return *this;}
151 
160  inline GetFunctionDefinitionVersionRequest& WithFunctionDefinitionVersionId(const char* value) { SetFunctionDefinitionVersionId(value); return *this;}
161 
162 
167  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
168 
173  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
174 
179  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
180 
185  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
186 
191  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
192 
197  inline GetFunctionDefinitionVersionRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
198 
203  inline GetFunctionDefinitionVersionRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
204 
209  inline GetFunctionDefinitionVersionRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
210 
211  private:
212 
213  Aws::String m_functionDefinitionId;
214  bool m_functionDefinitionIdHasBeenSet;
215 
216  Aws::String m_functionDefinitionVersionId;
217  bool m_functionDefinitionVersionIdHasBeenSet;
218 
219  Aws::String m_nextToken;
220  bool m_nextTokenHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace Greengrass
225 } // namespace Aws
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetFunctionDefinitionVersionRequest.h:191
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetFunctionDefinitionVersionId
void SetFunctionDefinitionVersionId(const char *value)
Definition: GetFunctionDefinitionVersionRequest.h:130
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithNextToken
GetFunctionDefinitionVersionRequest & WithNextToken(const char *value)
Definition: GetFunctionDefinitionVersionRequest.h:209
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithFunctionDefinitionVersionId
GetFunctionDefinitionVersionRequest & WithFunctionDefinitionVersionId(const Aws::String &value)
Definition: GetFunctionDefinitionVersionRequest.h:140
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithFunctionDefinitionId
GetFunctionDefinitionVersionRequest & WithFunctionDefinitionId(const Aws::String &value)
Definition: GetFunctionDefinitionVersionRequest.h:69
Greengrass_EXPORTS.h
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithNextToken
GetFunctionDefinitionVersionRequest & WithNextToken(const Aws::String &value)
Definition: GetFunctionDefinitionVersionRequest.h:197
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithFunctionDefinitionId
GetFunctionDefinitionVersionRequest & WithFunctionDefinitionId(Aws::String &&value)
Definition: GetFunctionDefinitionVersionRequest.h:74
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::FunctionDefinitionVersionIdHasBeenSet
bool FunctionDefinitionVersionIdHasBeenSet() const
Definition: GetFunctionDefinitionVersionRequest.h:100
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::GetFunctionDefinitionVersionRequest
GetFunctionDefinitionVersionRequest()
GreengrassRequest.h
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetFunctionDefinitionVersionRequest.h:179
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::FunctionDefinitionIdHasBeenSet
bool FunctionDefinitionIdHasBeenSet() const
Definition: GetFunctionDefinitionVersionRequest.h:49
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetFunctionDefinitionId
void SetFunctionDefinitionId(Aws::String &&value)
Definition: GetFunctionDefinitionVersionRequest.h:59
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::GetFunctionDefinitionVersionId
const Aws::String & GetFunctionDefinitionVersionId() const
Definition: GetFunctionDefinitionVersionRequest.h:90
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetFunctionDefinitionId
void SetFunctionDefinitionId(const char *value)
Definition: GetFunctionDefinitionVersionRequest.h:64
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetFunctionDefinitionVersionId
void SetFunctionDefinitionVersionId(const Aws::String &value)
Definition: GetFunctionDefinitionVersionRequest.h:110
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithFunctionDefinitionVersionId
GetFunctionDefinitionVersionRequest & WithFunctionDefinitionVersionId(Aws::String &&value)
Definition: GetFunctionDefinitionVersionRequest.h:150
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetFunctionDefinitionVersionRequest.h:167
AWSString.h
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithFunctionDefinitionId
GetFunctionDefinitionVersionRequest & WithFunctionDefinitionId(const char *value)
Definition: GetFunctionDefinitionVersionRequest.h:79
Aws::Greengrass::GreengrassRequest
Definition: GreengrassRequest.h:17
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest
Definition: GetFunctionDefinitionVersionRequest.h:26
Aws
Definition: AccessManagementClient.h:15
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithFunctionDefinitionVersionId
GetFunctionDefinitionVersionRequest & WithFunctionDefinitionVersionId(const char *value)
Definition: GetFunctionDefinitionVersionRequest.h:160
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::GetFunctionDefinitionId
const Aws::String & GetFunctionDefinitionId() const
Definition: GetFunctionDefinitionVersionRequest.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetFunctionDefinitionVersionRequest.h:34
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetFunctionDefinitionVersionRequest.h:185
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetFunctionDefinitionVersionRequest.h:173
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetFunctionDefinitionVersionId
void SetFunctionDefinitionVersionId(Aws::String &&value)
Definition: GetFunctionDefinitionVersionRequest.h:120
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::SetFunctionDefinitionId
void SetFunctionDefinitionId(const Aws::String &value)
Definition: GetFunctionDefinitionVersionRequest.h:54
Aws::Greengrass::Model::GetFunctionDefinitionVersionRequest::WithNextToken
GetFunctionDefinitionVersionRequest & WithNextToken(Aws::String &&value)
Definition: GetFunctionDefinitionVersionRequest.h:203