AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
46 inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
47 inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
48 inline DescribeBundleAssociationsRequest& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
49 inline DescribeBundleAssociationsRequest& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
50 inline DescribeBundleAssociationsRequest& WithBundleId(const char* value) { SetBundleId(value); return *this;}
52
54
57 inline const Aws::Vector<BundleAssociatedResourceType>& GetAssociatedResourceTypes() const{ return m_associatedResourceTypes; }
58 inline bool AssociatedResourceTypesHasBeenSet() const { return m_associatedResourceTypesHasBeenSet; }
59 inline void SetAssociatedResourceTypes(const Aws::Vector<BundleAssociatedResourceType>& value) { m_associatedResourceTypesHasBeenSet = true; m_associatedResourceTypes = value; }
60 inline void SetAssociatedResourceTypes(Aws::Vector<BundleAssociatedResourceType>&& value) { m_associatedResourceTypesHasBeenSet = true; m_associatedResourceTypes = std::move(value); }
63 inline DescribeBundleAssociationsRequest& AddAssociatedResourceTypes(const BundleAssociatedResourceType& value) { m_associatedResourceTypesHasBeenSet = true; m_associatedResourceTypes.push_back(value); return *this; }
64 inline DescribeBundleAssociationsRequest& AddAssociatedResourceTypes(BundleAssociatedResourceType&& value) { m_associatedResourceTypesHasBeenSet = true; m_associatedResourceTypes.push_back(std::move(value)); return *this; }
66 private:
67
68 Aws::String m_bundleId;
69 bool m_bundleIdHasBeenSet = false;
70
71 Aws::Vector<BundleAssociatedResourceType> m_associatedResourceTypes;
72 bool m_associatedResourceTypesHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WorkSpaces
77} // namespace Aws
void SetAssociatedResourceTypes(const Aws::Vector< BundleAssociatedResourceType > &value)
DescribeBundleAssociationsRequest & WithBundleId(const Aws::String &value)
DescribeBundleAssociationsRequest & AddAssociatedResourceTypes(const BundleAssociatedResourceType &value)
DescribeBundleAssociationsRequest & WithAssociatedResourceTypes(Aws::Vector< BundleAssociatedResourceType > &&value)
DescribeBundleAssociationsRequest & WithBundleId(const char *value)
DescribeBundleAssociationsRequest & AddAssociatedResourceTypes(BundleAssociatedResourceType &&value)
DescribeBundleAssociationsRequest & WithAssociatedResourceTypes(const Aws::Vector< BundleAssociatedResourceType > &value)
const Aws::Vector< BundleAssociatedResourceType > & GetAssociatedResourceTypes() const
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAssociatedResourceTypes(Aws::Vector< BundleAssociatedResourceType > &&value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
DescribeBundleAssociationsRequest & WithBundleId(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