AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListResourceRequestsRequest.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/cloudcontrol/CloudControlApiRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudcontrol/model/ResourceRequestStatusFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudControlApi
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDCONTROLAPI_API ListResourceRequestsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListResourceRequests"; }
32
33 AWS_CLOUDCONTROLAPI_API Aws::String SerializePayload() const override;
34
35 AWS_CLOUDCONTROLAPI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
46 inline int GetMaxResults() const{ return m_maxResults; }
47 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
48 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
49 inline ListResourceRequestsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
51
53
61 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
65 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
66 inline ListResourceRequestsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 inline ListResourceRequestsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
68 inline ListResourceRequestsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
70
72
75 inline const ResourceRequestStatusFilter& GetResourceRequestStatusFilter() const{ return m_resourceRequestStatusFilter; }
76 inline bool ResourceRequestStatusFilterHasBeenSet() const { return m_resourceRequestStatusFilterHasBeenSet; }
77 inline void SetResourceRequestStatusFilter(const ResourceRequestStatusFilter& value) { m_resourceRequestStatusFilterHasBeenSet = true; m_resourceRequestStatusFilter = value; }
78 inline void SetResourceRequestStatusFilter(ResourceRequestStatusFilter&& value) { m_resourceRequestStatusFilterHasBeenSet = true; m_resourceRequestStatusFilter = std::move(value); }
82 private:
83
84 int m_maxResults;
85 bool m_maxResultsHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
90 ResourceRequestStatusFilter m_resourceRequestStatusFilter;
91 bool m_resourceRequestStatusFilterHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CloudControlApi
96} // namespace Aws
void SetResourceRequestStatusFilter(const ResourceRequestStatusFilter &value)
ListResourceRequestsRequest & WithResourceRequestStatusFilter(const ResourceRequestStatusFilter &value)
ListResourceRequestsRequest & WithNextToken(const char *value)
void SetResourceRequestStatusFilter(ResourceRequestStatusFilter &&value)
ListResourceRequestsRequest & WithNextToken(Aws::String &&value)
const ResourceRequestStatusFilter & GetResourceRequestStatusFilter() const
ListResourceRequestsRequest & WithNextToken(const Aws::String &value)
ListResourceRequestsRequest & WithResourceRequestStatusFilter(ResourceRequestStatusFilter &&value)
AWS_CLOUDCONTROLAPI_API Aws::String SerializePayload() const override
AWS_CLOUDCONTROLAPI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String