AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeWorkspaceBundlesRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace WorkSpaces
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
43  inline const Aws::Vector<Aws::String>& GetBundleIds() const{ return m_bundleIds; }
44 
49  inline void SetBundleIds(const Aws::Vector<Aws::String>& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = value; }
50 
55  inline void SetBundleIds(Aws::Vector<Aws::String>&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = value; }
56 
61  inline DescribeWorkspaceBundlesRequest& WithBundleIds(const Aws::Vector<Aws::String>& value) { SetBundleIds(value); return *this;}
62 
67  inline DescribeWorkspaceBundlesRequest& WithBundleIds(Aws::Vector<Aws::String>&& value) { SetBundleIds(value); return *this;}
68 
73  inline DescribeWorkspaceBundlesRequest& AddBundleIds(const Aws::String& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; }
74 
79  inline DescribeWorkspaceBundlesRequest& AddBundleIds(Aws::String&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; }
80 
85  inline DescribeWorkspaceBundlesRequest& AddBundleIds(const char* value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; }
86 
94  inline const Aws::String& GetOwner() const{ return m_owner; }
95 
103  inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
104 
112  inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = value; }
113 
121  inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
122 
130  inline DescribeWorkspaceBundlesRequest& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
131 
139  inline DescribeWorkspaceBundlesRequest& WithOwner(Aws::String&& value) { SetOwner(value); return *this;}
140 
148  inline DescribeWorkspaceBundlesRequest& WithOwner(const char* value) { SetOwner(value); return *this;}
149 
154  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
155 
160  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
161 
166  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
167 
172  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
173 
178  inline DescribeWorkspaceBundlesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
179 
184  inline DescribeWorkspaceBundlesRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
185 
190  inline DescribeWorkspaceBundlesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
191 
192  private:
193  Aws::Vector<Aws::String> m_bundleIds;
194  bool m_bundleIdsHasBeenSet;
195  Aws::String m_owner;
196  bool m_ownerHasBeenSet;
197  Aws::String m_nextToken;
198  bool m_nextTokenHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace WorkSpaces
203 } // namespace Aws
void SetBundleIds(const Aws::Vector< Aws::String > &value)
DescribeWorkspaceBundlesRequest & WithBundleIds(const Aws::Vector< Aws::String > &value)
DescribeWorkspaceBundlesRequest & WithNextToken(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeWorkspaceBundlesRequest & WithOwner(Aws::String &&value)
DescribeWorkspaceBundlesRequest & WithOwner(const Aws::String &value)
DescribeWorkspaceBundlesRequest & AddBundleIds(Aws::String &&value)
DescribeWorkspaceBundlesRequest & WithNextToken(const char *value)
DescribeWorkspaceBundlesRequest & WithBundleIds(Aws::Vector< Aws::String > &&value)
DescribeWorkspaceBundlesRequest & AddBundleIds(const char *value)
DescribeWorkspaceBundlesRequest & WithOwner(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeWorkspaceBundlesRequest & WithNextToken(Aws::String &&value)
DescribeWorkspaceBundlesRequest & AddBundleIds(const Aws::String &value)
JSON (JavaScript Object Notation).
#define AWS_WORKSPACES_API