AWS SDK for C++  1.9.109
AWS SDK for C++
ListCompatibleImagesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Snowball
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListCompatibleImages"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline int GetMaxResults() const{ return m_maxResults; }
42 
47  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
48 
53  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
54 
59  inline ListCompatibleImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60 
61 
67  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
68 
74  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 
81  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
82 
88  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 
95  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 
102  inline ListCompatibleImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 
109  inline ListCompatibleImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
110 
116  inline ListCompatibleImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117 
118  private:
119 
120  int m_maxResults;
121  bool m_maxResultsHasBeenSet;
122 
123  Aws::String m_nextToken;
124  bool m_nextTokenHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace Snowball
129 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Snowball::Model::ListCompatibleImagesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListCompatibleImagesRequest.h:41
Aws::Snowball::Model::ListCompatibleImagesRequest::WithNextToken
ListCompatibleImagesRequest & WithNextToken(const Aws::String &value)
Definition: ListCompatibleImagesRequest.h:102
Aws::Snowball::Model::ListCompatibleImagesRequest::WithNextToken
ListCompatibleImagesRequest & WithNextToken(Aws::String &&value)
Definition: ListCompatibleImagesRequest.h:109
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::ListCompatibleImagesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Snowball::Model::ListCompatibleImagesRequest
Definition: ListCompatibleImagesRequest.h:22
SnowballRequest.h
Aws::Snowball::Model::ListCompatibleImagesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListCompatibleImagesRequest.h:81
Aws::Snowball::Model::ListCompatibleImagesRequest::WithNextToken
ListCompatibleImagesRequest & WithNextToken(const char *value)
Definition: ListCompatibleImagesRequest.h:116
Aws::Snowball::Model::ListCompatibleImagesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListCompatibleImagesRequest.h:47
AWSString.h
Aws::Snowball::Model::ListCompatibleImagesRequest::WithMaxResults
ListCompatibleImagesRequest & WithMaxResults(int value)
Definition: ListCompatibleImagesRequest.h:59
Aws::Snowball::Model::ListCompatibleImagesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListCompatibleImagesRequest.h:95
Aws::Snowball::Model::ListCompatibleImagesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListCompatibleImagesRequest.h:67
Aws::Snowball::Model::ListCompatibleImagesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListCompatibleImagesRequest.h:30
Aws::Snowball::Model::ListCompatibleImagesRequest::ListCompatibleImagesRequest
ListCompatibleImagesRequest()
Aws::Snowball::SnowballRequest
Definition: SnowballRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::ListCompatibleImagesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListCompatibleImagesRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::ListCompatibleImagesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListCompatibleImagesRequest.h:88
Aws::Snowball::Model::ListCompatibleImagesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListCompatibleImagesRequest.h:74
Snowball_EXPORTS.h
Aws::Snowball::Model::ListCompatibleImagesRequest::SerializePayload
Aws::String SerializePayload() const override