AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename BundleIdsT = Aws::Vector<Aws::String>>
46 void SetBundleIds(BundleIdsT&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = std::forward<BundleIdsT>(value); }
47 template<typename BundleIdsT = Aws::Vector<Aws::String>>
48 DescribeWorkspaceBundlesRequest& WithBundleIds(BundleIdsT&& value) { SetBundleIds(std::forward<BundleIdsT>(value)); return *this;}
49 template<typename BundleIdsT = Aws::String>
50 DescribeWorkspaceBundlesRequest& AddBundleIds(BundleIdsT&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.emplace_back(std::forward<BundleIdsT>(value)); return *this; }
52
54
60 inline const Aws::String& GetOwner() const { return m_owner; }
61 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
62 template<typename OwnerT = Aws::String>
63 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
64 template<typename OwnerT = Aws::String>
65 DescribeWorkspaceBundlesRequest& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
67
69
73 inline const Aws::String& GetNextToken() const { return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 template<typename NextTokenT = Aws::String>
76 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
77 template<typename NextTokenT = Aws::String>
78 DescribeWorkspaceBundlesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
80 private:
81
82 Aws::Vector<Aws::String> m_bundleIds;
83 bool m_bundleIdsHasBeenSet = false;
84
85 Aws::String m_owner;
86 bool m_ownerHasBeenSet = false;
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace WorkSpaces
94} // namespace Aws
DescribeWorkspaceBundlesRequest & AddBundleIds(BundleIdsT &&value)
DescribeWorkspaceBundlesRequest & WithBundleIds(BundleIdsT &&value)
DescribeWorkspaceBundlesRequest & WithOwner(OwnerT &&value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
DescribeWorkspaceBundlesRequest & WithNextToken(NextTokenT &&value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WORKSPACES_API DescribeWorkspaceBundlesRequest()=default
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