AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListEnvironmentsRequest.h
1
6#pragma once
7#include <aws/cloud9/Cloud9Request.h>
8#include <aws/cloud9/Cloud9_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Cloud9 {
15namespace Model {
16
20 public:
21 AWS_CLOUD9_API ListEnvironmentsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListEnvironments"; }
28
29 AWS_CLOUD9_API Aws::String SerializePayload() const override;
30
32
34
42 inline const Aws::String& GetNextToken() const { return m_nextToken; }
43 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
44 template <typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) {
46 m_nextTokenHasBeenSet = true;
47 m_nextToken = std::forward<NextTokenT>(value);
48 }
49 template <typename NextTokenT = Aws::String>
51 SetNextToken(std::forward<NextTokenT>(value));
52 return *this;
53 }
55
57
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) {
63 m_maxResultsHasBeenSet = true;
64 m_maxResults = value;
65 }
67 SetMaxResults(value);
68 return *this;
69 }
71 private:
72 Aws::String m_nextToken;
73
74 int m_maxResults{0};
75 bool m_nextTokenHasBeenSet = false;
76 bool m_maxResultsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Cloud9
81} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CLOUD9_API ListEnvironmentsRequest()=default
AWS_CLOUD9_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListEnvironmentsRequest & WithMaxResults(int value)
ListEnvironmentsRequest & WithNextToken(NextTokenT &&value)
AWS_CLOUD9_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String