AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListApplicationsRequest.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/sso-admin/model/ListApplicationsFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSOAdmin
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSOADMIN_API ListApplicationsRequest();
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 "ListApplications"; }
32
33 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const ListApplicationsFilter& GetFilter() const{ return m_filter; }
43 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
44 inline void SetFilter(const ListApplicationsFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
45 inline void SetFilter(ListApplicationsFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
46 inline ListApplicationsRequest& WithFilter(const ListApplicationsFilter& value) { SetFilter(value); return *this;}
47 inline ListApplicationsRequest& WithFilter(ListApplicationsFilter&& value) { SetFilter(std::move(value)); return *this;}
49
51
58 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
59 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
60 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
61 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
62 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
63 inline ListApplicationsRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
64 inline ListApplicationsRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
65 inline ListApplicationsRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
67
69
79 inline int GetMaxResults() const{ return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 inline ListApplicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
84
86
93 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
97 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
98 inline ListApplicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
99 inline ListApplicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
100 inline ListApplicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
102 private:
103
104 ListApplicationsFilter m_filter;
105 bool m_filterHasBeenSet = false;
106
107 Aws::String m_instanceArn;
108 bool m_instanceArnHasBeenSet = false;
109
110 int m_maxResults;
111 bool m_maxResultsHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SSOAdmin
119} // namespace Aws
ListApplicationsRequest & WithNextToken(Aws::String &&value)
const ListApplicationsFilter & GetFilter() const
AWS_SSOADMIN_API Aws::String SerializePayload() const override
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListApplicationsRequest & WithNextToken(const Aws::String &value)
void SetFilter(ListApplicationsFilter &&value)
ListApplicationsRequest & WithFilter(const ListApplicationsFilter &value)
ListApplicationsRequest & WithInstanceArn(const Aws::String &value)
ListApplicationsRequest & WithInstanceArn(Aws::String &&value)
ListApplicationsRequest & WithMaxResults(int value)
void SetFilter(const ListApplicationsFilter &value)
ListApplicationsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListApplicationsRequest & WithInstanceArn(const char *value)
ListApplicationsRequest & WithFilter(ListApplicationsFilter &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String