AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeBundleAssociationsRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workspaces/model/BundleAssociatedResourceType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace WorkSpaces
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_WORKSPACES_API DescribeBundleAssociationsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeBundleAssociations"; }
33
34 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetBundleId() const { return m_bundleId; }
44 inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
45 template<typename BundleIdT = Aws::String>
46 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::forward<BundleIdT>(value); }
47 template<typename BundleIdT = Aws::String>
48 DescribeBundleAssociationsRequest& WithBundleId(BundleIdT&& value) { SetBundleId(std::forward<BundleIdT>(value)); return *this;}
50
52
55 inline const Aws::Vector<BundleAssociatedResourceType>& GetAssociatedResourceTypes() const { return m_associatedResourceTypes; }
56 inline bool AssociatedResourceTypesHasBeenSet() const { return m_associatedResourceTypesHasBeenSet; }
57 template<typename AssociatedResourceTypesT = Aws::Vector<BundleAssociatedResourceType>>
58 void SetAssociatedResourceTypes(AssociatedResourceTypesT&& value) { m_associatedResourceTypesHasBeenSet = true; m_associatedResourceTypes = std::forward<AssociatedResourceTypesT>(value); }
59 template<typename AssociatedResourceTypesT = Aws::Vector<BundleAssociatedResourceType>>
60 DescribeBundleAssociationsRequest& WithAssociatedResourceTypes(AssociatedResourceTypesT&& value) { SetAssociatedResourceTypes(std::forward<AssociatedResourceTypesT>(value)); return *this;}
61 inline DescribeBundleAssociationsRequest& AddAssociatedResourceTypes(BundleAssociatedResourceType value) { m_associatedResourceTypesHasBeenSet = true; m_associatedResourceTypes.push_back(value); return *this; }
63 private:
64
65 Aws::String m_bundleId;
66 bool m_bundleIdHasBeenSet = false;
67
68 Aws::Vector<BundleAssociatedResourceType> m_associatedResourceTypes;
69 bool m_associatedResourceTypesHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace WorkSpaces
74} // namespace Aws
DescribeBundleAssociationsRequest & AddAssociatedResourceTypes(BundleAssociatedResourceType value)
DescribeBundleAssociationsRequest & WithAssociatedResourceTypes(AssociatedResourceTypesT &&value)
AWS_WORKSPACES_API DescribeBundleAssociationsRequest()=default
DescribeBundleAssociationsRequest & WithBundleId(BundleIdT &&value)
const Aws::Vector< BundleAssociatedResourceType > & GetAssociatedResourceTypes() const
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WORKSPACES_API Aws::String SerializePayload() const override
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