AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeWorkspaceBundlesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WorkSpaces
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "DescribeWorkspaceBundles"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::Vector<Aws::String>& GetBundleIds() const{ return m_bundleIds; }
43 
48  inline bool BundleIdsHasBeenSet() const { return m_bundleIdsHasBeenSet; }
49 
54  inline void SetBundleIds(const Aws::Vector<Aws::String>& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = value; }
55 
60  inline void SetBundleIds(Aws::Vector<Aws::String>&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = std::move(value); }
61 
66  inline DescribeWorkspaceBundlesRequest& WithBundleIds(const Aws::Vector<Aws::String>& value) { SetBundleIds(value); return *this;}
67 
72  inline DescribeWorkspaceBundlesRequest& WithBundleIds(Aws::Vector<Aws::String>&& value) { SetBundleIds(std::move(value)); return *this;}
73 
78  inline DescribeWorkspaceBundlesRequest& AddBundleIds(const Aws::String& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; }
79 
84  inline DescribeWorkspaceBundlesRequest& AddBundleIds(Aws::String&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(std::move(value)); return *this; }
85 
90  inline DescribeWorkspaceBundlesRequest& AddBundleIds(const char* value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; }
91 
92 
99  inline const Aws::String& GetOwner() const{ return m_owner; }
100 
107  inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
108 
115  inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
116 
123  inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
124 
131  inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
132 
139  inline DescribeWorkspaceBundlesRequest& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
140 
147  inline DescribeWorkspaceBundlesRequest& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
148 
155  inline DescribeWorkspaceBundlesRequest& WithOwner(const char* value) { SetOwner(value); return *this;}
156 
157 
162  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
163 
168  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
169 
174  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
175 
180  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
181 
186  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
187 
192  inline DescribeWorkspaceBundlesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
193 
198  inline DescribeWorkspaceBundlesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
199 
204  inline DescribeWorkspaceBundlesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
205 
206  private:
207 
208  Aws::Vector<Aws::String> m_bundleIds;
209  bool m_bundleIdsHasBeenSet;
210 
211  Aws::String m_owner;
212  bool m_ownerHasBeenSet;
213 
214  Aws::String m_nextToken;
215  bool m_nextTokenHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace WorkSpaces
220 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeWorkspaceBundlesRequest.h:180
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::WithNextToken
DescribeWorkspaceBundlesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeWorkspaceBundlesRequest.h:198
Aws::WorkSpaces::WorkSpacesRequest
Definition: WorkSpacesRequest.h:17
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SetBundleIds
void SetBundleIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeWorkspaceBundlesRequest.h:54
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
WorkSpacesRequest.h
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::AddBundleIds
DescribeWorkspaceBundlesRequest & AddBundleIds(const char *value)
Definition: DescribeWorkspaceBundlesRequest.h:90
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeWorkspaceBundlesRequest.h:174
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::AddBundleIds
DescribeWorkspaceBundlesRequest & AddBundleIds(Aws::String &&value)
Definition: DescribeWorkspaceBundlesRequest.h:84
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SetOwner
void SetOwner(const char *value)
Definition: DescribeWorkspaceBundlesRequest.h:131
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::OwnerHasBeenSet
bool OwnerHasBeenSet() const
Definition: DescribeWorkspaceBundlesRequest.h:107
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SetOwner
void SetOwner(const Aws::String &value)
Definition: DescribeWorkspaceBundlesRequest.h:115
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::WithNextToken
DescribeWorkspaceBundlesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeWorkspaceBundlesRequest.h:192
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeWorkspaceBundlesRequest.h:168
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::WithBundleIds
DescribeWorkspaceBundlesRequest & WithBundleIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeWorkspaceBundlesRequest.h:66
AWSVector.h
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::GetOwner
const Aws::String & GetOwner() const
Definition: DescribeWorkspaceBundlesRequest.h:99
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeWorkspaceBundlesRequest.h:162
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SetBundleIds
void SetBundleIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeWorkspaceBundlesRequest.h:60
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::AddBundleIds
DescribeWorkspaceBundlesRequest & AddBundleIds(const Aws::String &value)
Definition: DescribeWorkspaceBundlesRequest.h:78
AWSString.h
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest
Definition: DescribeWorkspaceBundlesRequest.h:23
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeWorkspaceBundlesRequest.h:31
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::WithBundleIds
DescribeWorkspaceBundlesRequest & WithBundleIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeWorkspaceBundlesRequest.h:72
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeWorkspaceBundlesRequest.h:186
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::SetOwner
void SetOwner(Aws::String &&value)
Definition: DescribeWorkspaceBundlesRequest.h:123
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::WithNextToken
DescribeWorkspaceBundlesRequest & WithNextToken(const char *value)
Definition: DescribeWorkspaceBundlesRequest.h:204
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::GetBundleIds
const Aws::Vector< Aws::String > & GetBundleIds() const
Definition: DescribeWorkspaceBundlesRequest.h:42
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::BundleIdsHasBeenSet
bool BundleIdsHasBeenSet() const
Definition: DescribeWorkspaceBundlesRequest.h:48
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::DescribeWorkspaceBundlesRequest
DescribeWorkspaceBundlesRequest()
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::WithOwner
DescribeWorkspaceBundlesRequest & WithOwner(Aws::String &&value)
Definition: DescribeWorkspaceBundlesRequest.h:147
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::WithOwner
DescribeWorkspaceBundlesRequest & WithOwner(const Aws::String &value)
Definition: DescribeWorkspaceBundlesRequest.h:139
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::WithOwner
DescribeWorkspaceBundlesRequest & WithOwner(const char *value)
Definition: DescribeWorkspaceBundlesRequest.h:155
Aws::WorkSpaces::Model::DescribeWorkspaceBundlesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override