AWS SDK for C++  1.9.158
AWS SDK for C++
GetOutpostInstanceTypesRequest.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 Outposts
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 "GetOutpostInstanceTypes"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetOutpostId() const{ return m_outpostId; }
45 
49  inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
50 
54  inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; }
55 
59  inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); }
60 
64  inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); }
65 
69  inline GetOutpostInstanceTypesRequest& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;}
70 
74  inline GetOutpostInstanceTypesRequest& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;}
75 
79  inline GetOutpostInstanceTypesRequest& WithOutpostId(const char* value) { SetOutpostId(value); return *this;}
80 
81 
82 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
85 
86  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 
88 
89  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
90 
91 
92  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
93 
94 
95  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 
97 
98  inline GetOutpostInstanceTypesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
99 
100 
101  inline GetOutpostInstanceTypesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
103 
104  inline GetOutpostInstanceTypesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
105 
106 
107 
108  inline int GetMaxResults() const{ return m_maxResults; }
109 
110 
111  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
112 
113 
114  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
115 
116 
117  inline GetOutpostInstanceTypesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
118 
119  private:
120 
121  Aws::String m_outpostId;
122  bool m_outpostIdHasBeenSet;
123 
124  Aws::String m_nextToken;
125  bool m_nextTokenHasBeenSet;
126 
127  int m_maxResults;
128  bool m_maxResultsHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace Outposts
133 } // namespace Aws
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::WithNextToken
GetOutpostInstanceTypesRequest & WithNextToken(const Aws::String &value)
Definition: GetOutpostInstanceTypesRequest.h:98
Aws::Http::URI
Definition: URI.h:32
OutpostsRequest.h
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::GetOutpostInstanceTypesRequest
GetOutpostInstanceTypesRequest()
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::WithOutpostId
GetOutpostInstanceTypesRequest & WithOutpostId(const char *value)
Definition: GetOutpostInstanceTypesRequest.h:79
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetOutpostInstanceTypesRequest.h:34
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetOutpostInstanceTypesRequest.h:111
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetOutpostInstanceTypesRequest.h:86
Aws::Outposts::Model::GetOutpostInstanceTypesRequest
Definition: GetOutpostInstanceTypesRequest.h:26
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::WithNextToken
GetOutpostInstanceTypesRequest & WithNextToken(Aws::String &&value)
Definition: GetOutpostInstanceTypesRequest.h:101
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::GetOutpostId
const Aws::String & GetOutpostId() const
Definition: GetOutpostInstanceTypesRequest.h:44
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::WithOutpostId
GetOutpostInstanceTypesRequest & WithOutpostId(Aws::String &&value)
Definition: GetOutpostInstanceTypesRequest.h:74
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::OutpostIdHasBeenSet
bool OutpostIdHasBeenSet() const
Definition: GetOutpostInstanceTypesRequest.h:49
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetOutpostInstanceTypesRequest.h:95
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::WithOutpostId
GetOutpostInstanceTypesRequest & WithOutpostId(const Aws::String &value)
Definition: GetOutpostInstanceTypesRequest.h:69
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::WithNextToken
GetOutpostInstanceTypesRequest & WithNextToken(const char *value)
Definition: GetOutpostInstanceTypesRequest.h:104
AWSString.h
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::SetOutpostId
void SetOutpostId(const Aws::String &value)
Definition: GetOutpostInstanceTypesRequest.h:54
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetOutpostInstanceTypesRequest.h:89
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::WithMaxResults
GetOutpostInstanceTypesRequest & WithMaxResults(int value)
Definition: GetOutpostInstanceTypesRequest.h:117
AWS_OUTPOSTS_API
#define AWS_OUTPOSTS_API
Definition: Outposts_EXPORTS.h:28
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::SetOutpostId
void SetOutpostId(const char *value)
Definition: GetOutpostInstanceTypesRequest.h:64
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetOutpostInstanceTypesRequest.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::GetMaxResults
int GetMaxResults() const
Definition: GetOutpostInstanceTypesRequest.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Outposts_EXPORTS.h
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::SetOutpostId
void SetOutpostId(Aws::String &&value)
Definition: GetOutpostInstanceTypesRequest.h:59
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetOutpostInstanceTypesRequest.h:92
Aws::Outposts::OutpostsRequest
Definition: OutpostsRequest.h:17
Aws::Outposts::Model::GetOutpostInstanceTypesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetOutpostInstanceTypesRequest.h:83