AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListResourcesRequest.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/model/ListResourcesFilters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WorkMail
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKMAIL_API ListResourcesRequest();
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 "ListResources"; }
32
33 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
43 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
44 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
45 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
46 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
47 inline ListResourcesRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
48 inline ListResourcesRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
49 inline ListResourcesRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
51
53
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
60 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
62 inline ListResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline ListResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline ListResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
66
68
71 inline int GetMaxResults() const{ return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline ListResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
82 inline const ListResourcesFilters& GetFilters() const{ return m_filters; }
83 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
84 inline void SetFilters(const ListResourcesFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
85 inline void SetFilters(ListResourcesFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
86 inline ListResourcesRequest& WithFilters(const ListResourcesFilters& value) { SetFilters(value); return *this;}
87 inline ListResourcesRequest& WithFilters(ListResourcesFilters&& value) { SetFilters(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_organizationId;
92 bool m_organizationIdHasBeenSet = false;
93
94 Aws::String m_nextToken;
95 bool m_nextTokenHasBeenSet = false;
96
97 int m_maxResults;
98 bool m_maxResultsHasBeenSet = false;
99
100 ListResourcesFilters m_filters;
101 bool m_filtersHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace WorkMail
106} // namespace Aws
void SetNextToken(const Aws::String &value)
ListResourcesRequest & WithFilters(ListResourcesFilters &&value)
ListResourcesRequest & WithNextToken(const Aws::String &value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
const ListResourcesFilters & GetFilters() const
void SetOrganizationId(const Aws::String &value)
ListResourcesRequest & WithOrganizationId(const char *value)
void SetFilters(const ListResourcesFilters &value)
ListResourcesRequest & WithFilters(const ListResourcesFilters &value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetFilters(ListResourcesFilters &&value)
ListResourcesRequest & WithOrganizationId(Aws::String &&value)
ListResourcesRequest & WithMaxResults(int value)
ListResourcesRequest & WithNextToken(const char *value)
ListResourcesRequest & WithNextToken(Aws::String &&value)
ListResourcesRequest & WithOrganizationId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String