AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGatewayInstancesRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace MediaConnect
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_MEDIACONNECT_API ListGatewayInstancesRequest();
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 "ListGatewayInstances"; }
35
36 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
37
38 AWS_MEDIACONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetFilterArn() const{ return m_filterArn; }
47 inline bool FilterArnHasBeenSet() const { return m_filterArnHasBeenSet; }
48 inline void SetFilterArn(const Aws::String& value) { m_filterArnHasBeenSet = true; m_filterArn = value; }
49 inline void SetFilterArn(Aws::String&& value) { m_filterArnHasBeenSet = true; m_filterArn = std::move(value); }
50 inline void SetFilterArn(const char* value) { m_filterArnHasBeenSet = true; m_filterArn.assign(value); }
51 inline ListGatewayInstancesRequest& WithFilterArn(const Aws::String& value) { SetFilterArn(value); return *this;}
52 inline ListGatewayInstancesRequest& WithFilterArn(Aws::String&& value) { SetFilterArn(std::move(value)); return *this;}
53 inline ListGatewayInstancesRequest& WithFilterArn(const char* value) { SetFilterArn(value); return *this;}
55
57
66 inline int GetMaxResults() const{ return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline ListGatewayInstancesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
80 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
83 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
84 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
85 inline ListGatewayInstancesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 inline ListGatewayInstancesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 inline ListGatewayInstancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
89 private:
90
91 Aws::String m_filterArn;
92 bool m_filterArnHasBeenSet = false;
93
94 int m_maxResults;
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace MediaConnect
103} // namespace Aws
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
AWS_MEDIACONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListGatewayInstancesRequest & WithFilterArn(const char *value)
ListGatewayInstancesRequest & WithFilterArn(Aws::String &&value)
ListGatewayInstancesRequest & WithNextToken(const char *value)
ListGatewayInstancesRequest & WithNextToken(Aws::String &&value)
ListGatewayInstancesRequest & WithFilterArn(const Aws::String &value)
ListGatewayInstancesRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String