AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeWorkspaceBundlesRequest.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/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WorkSpaces
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKSPACES_API DescribeWorkspaceBundlesRequest();
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_WORKSPACES_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::Vector<Aws::String>& GetBundleIds() const{ return m_bundleIds; }
44 inline bool BundleIdsHasBeenSet() const { return m_bundleIdsHasBeenSet; }
45 inline void SetBundleIds(const Aws::Vector<Aws::String>& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = value; }
46 inline void SetBundleIds(Aws::Vector<Aws::String>&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = std::move(value); }
48 inline DescribeWorkspaceBundlesRequest& WithBundleIds(Aws::Vector<Aws::String>&& value) { SetBundleIds(std::move(value)); return *this;}
49 inline DescribeWorkspaceBundlesRequest& AddBundleIds(const Aws::String& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; }
50 inline DescribeWorkspaceBundlesRequest& AddBundleIds(Aws::String&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(std::move(value)); return *this; }
51 inline DescribeWorkspaceBundlesRequest& AddBundleIds(const char* value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; }
53
55
61 inline const Aws::String& GetOwner() const{ return m_owner; }
62 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
63 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
64 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
65 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
66 inline DescribeWorkspaceBundlesRequest& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
67 inline DescribeWorkspaceBundlesRequest& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
68 inline DescribeWorkspaceBundlesRequest& WithOwner(const char* value) { SetOwner(value); return *this;}
70
72
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline DescribeWorkspaceBundlesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline DescribeWorkspaceBundlesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline DescribeWorkspaceBundlesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 private:
86
87 Aws::Vector<Aws::String> m_bundleIds;
88 bool m_bundleIdsHasBeenSet = false;
89
90 Aws::String m_owner;
91 bool m_ownerHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace WorkSpaces
99} // namespace Aws
DescribeWorkspaceBundlesRequest & AddBundleIds(const Aws::String &value)
DescribeWorkspaceBundlesRequest & WithOwner(Aws::String &&value)
DescribeWorkspaceBundlesRequest & AddBundleIds(Aws::String &&value)
DescribeWorkspaceBundlesRequest & WithOwner(const Aws::String &value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
DescribeWorkspaceBundlesRequest & WithNextToken(const Aws::String &value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeWorkspaceBundlesRequest & WithBundleIds(const Aws::Vector< Aws::String > &value)
DescribeWorkspaceBundlesRequest & AddBundleIds(const char *value)
DescribeWorkspaceBundlesRequest & WithBundleIds(Aws::Vector< Aws::String > &&value)
DescribeWorkspaceBundlesRequest & WithOwner(const char *value)
DescribeWorkspaceBundlesRequest & WithNextToken(const char *value)
DescribeWorkspaceBundlesRequest & WithNextToken(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