AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeApplicationsRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/WorkSpacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/workspaces/model/WorkSpaceApplicationLicenseType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/workspaces/model/Compute.h>
13#include <aws/workspaces/model/OperatingSystemName.h>
14#include <utility>
15
16namespace Aws
17{
18namespace WorkSpaces
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_WORKSPACES_API DescribeApplicationsRequest();
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 "DescribeApplications"; }
35
36 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::Vector<Aws::String>& GetApplicationIds() const{ return m_applicationIds; }
46 inline bool ApplicationIdsHasBeenSet() const { return m_applicationIdsHasBeenSet; }
47 inline void SetApplicationIds(const Aws::Vector<Aws::String>& value) { m_applicationIdsHasBeenSet = true; m_applicationIds = value; }
48 inline void SetApplicationIds(Aws::Vector<Aws::String>&& value) { m_applicationIdsHasBeenSet = true; m_applicationIds = std::move(value); }
51 inline DescribeApplicationsRequest& AddApplicationIds(const Aws::String& value) { m_applicationIdsHasBeenSet = true; m_applicationIds.push_back(value); return *this; }
52 inline DescribeApplicationsRequest& AddApplicationIds(Aws::String&& value) { m_applicationIdsHasBeenSet = true; m_applicationIds.push_back(std::move(value)); return *this; }
53 inline DescribeApplicationsRequest& AddApplicationIds(const char* value) { m_applicationIdsHasBeenSet = true; m_applicationIds.push_back(value); return *this; }
55
57
60 inline const Aws::Vector<Compute>& GetComputeTypeNames() const{ return m_computeTypeNames; }
61 inline bool ComputeTypeNamesHasBeenSet() const { return m_computeTypeNamesHasBeenSet; }
62 inline void SetComputeTypeNames(const Aws::Vector<Compute>& value) { m_computeTypeNamesHasBeenSet = true; m_computeTypeNames = value; }
63 inline void SetComputeTypeNames(Aws::Vector<Compute>&& value) { m_computeTypeNamesHasBeenSet = true; m_computeTypeNames = std::move(value); }
66 inline DescribeApplicationsRequest& AddComputeTypeNames(const Compute& value) { m_computeTypeNamesHasBeenSet = true; m_computeTypeNames.push_back(value); return *this; }
67 inline DescribeApplicationsRequest& AddComputeTypeNames(Compute&& value) { m_computeTypeNamesHasBeenSet = true; m_computeTypeNames.push_back(std::move(value)); return *this; }
69
71
74 inline const WorkSpaceApplicationLicenseType& GetLicenseType() const{ return m_licenseType; }
75 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
76 inline void SetLicenseType(const WorkSpaceApplicationLicenseType& value) { m_licenseTypeHasBeenSet = true; m_licenseType = value; }
77 inline void SetLicenseType(WorkSpaceApplicationLicenseType&& value) { m_licenseTypeHasBeenSet = true; m_licenseType = std::move(value); }
81
83
86 inline const Aws::Vector<OperatingSystemName>& GetOperatingSystemNames() const{ return m_operatingSystemNames; }
87 inline bool OperatingSystemNamesHasBeenSet() const { return m_operatingSystemNamesHasBeenSet; }
88 inline void SetOperatingSystemNames(const Aws::Vector<OperatingSystemName>& value) { m_operatingSystemNamesHasBeenSet = true; m_operatingSystemNames = value; }
89 inline void SetOperatingSystemNames(Aws::Vector<OperatingSystemName>&& value) { m_operatingSystemNamesHasBeenSet = true; m_operatingSystemNames = std::move(value); }
92 inline DescribeApplicationsRequest& AddOperatingSystemNames(const OperatingSystemName& value) { m_operatingSystemNamesHasBeenSet = true; m_operatingSystemNames.push_back(value); return *this; }
93 inline DescribeApplicationsRequest& AddOperatingSystemNames(OperatingSystemName&& value) { m_operatingSystemNamesHasBeenSet = true; m_operatingSystemNames.push_back(std::move(value)); return *this; }
95
97
100 inline const Aws::String& GetOwner() const{ return m_owner; }
101 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
102 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
103 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
104 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
105 inline DescribeApplicationsRequest& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
106 inline DescribeApplicationsRequest& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
107 inline DescribeApplicationsRequest& WithOwner(const char* value) { SetOwner(value); return *this;}
109
111
114 inline int GetMaxResults() const{ return m_maxResults; }
115 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
116 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
117 inline DescribeApplicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
119
121
125 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
126 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
127 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
128 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
129 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
130 inline DescribeApplicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
131 inline DescribeApplicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 inline DescribeApplicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
134 private:
135
136 Aws::Vector<Aws::String> m_applicationIds;
137 bool m_applicationIdsHasBeenSet = false;
138
139 Aws::Vector<Compute> m_computeTypeNames;
140 bool m_computeTypeNamesHasBeenSet = false;
141
143 bool m_licenseTypeHasBeenSet = false;
144
145 Aws::Vector<OperatingSystemName> m_operatingSystemNames;
146 bool m_operatingSystemNamesHasBeenSet = false;
147
148 Aws::String m_owner;
149 bool m_ownerHasBeenSet = false;
150
151 int m_maxResults;
152 bool m_maxResultsHasBeenSet = false;
153
154 Aws::String m_nextToken;
155 bool m_nextTokenHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace WorkSpaces
160} // namespace Aws
void SetApplicationIds(const Aws::Vector< Aws::String > &value)
DescribeApplicationsRequest & AddOperatingSystemNames(const OperatingSystemName &value)
DescribeApplicationsRequest & WithOwner(Aws::String &&value)
DescribeApplicationsRequest & WithNextToken(const Aws::String &value)
DescribeApplicationsRequest & WithOwner(const char *value)
void SetOperatingSystemNames(Aws::Vector< OperatingSystemName > &&value)
DescribeApplicationsRequest & WithOperatingSystemNames(const Aws::Vector< OperatingSystemName > &value)
DescribeApplicationsRequest & WithNextToken(Aws::String &&value)
DescribeApplicationsRequest & AddApplicationIds(const char *value)
void SetComputeTypeNames(const Aws::Vector< Compute > &value)
DescribeApplicationsRequest & WithNextToken(const char *value)
DescribeApplicationsRequest & WithOwner(const Aws::String &value)
DescribeApplicationsRequest & WithApplicationIds(Aws::Vector< Aws::String > &&value)
DescribeApplicationsRequest & AddOperatingSystemNames(OperatingSystemName &&value)
void SetLicenseType(const WorkSpaceApplicationLicenseType &value)
DescribeApplicationsRequest & WithComputeTypeNames(Aws::Vector< Compute > &&value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
DescribeApplicationsRequest & AddComputeTypeNames(const Compute &value)
DescribeApplicationsRequest & WithLicenseType(WorkSpaceApplicationLicenseType &&value)
const WorkSpaceApplicationLicenseType & GetLicenseType() const
void SetLicenseType(WorkSpaceApplicationLicenseType &&value)
DescribeApplicationsRequest & AddComputeTypeNames(Compute &&value)
const Aws::Vector< OperatingSystemName > & GetOperatingSystemNames() const
DescribeApplicationsRequest & WithComputeTypeNames(const Aws::Vector< Compute > &value)
DescribeApplicationsRequest & WithLicenseType(const WorkSpaceApplicationLicenseType &value)
DescribeApplicationsRequest & AddApplicationIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetApplicationIds() const
DescribeApplicationsRequest & WithApplicationIds(const Aws::Vector< Aws::String > &value)
DescribeApplicationsRequest & WithOperatingSystemNames(Aws::Vector< OperatingSystemName > &&value)
void SetOperatingSystemNames(const Aws::Vector< OperatingSystemName > &value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeApplicationsRequest & AddApplicationIds(Aws::String &&value)
void SetApplicationIds(Aws::Vector< Aws::String > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector