AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchDisassociateResourceRequest.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/FMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace FMS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_FMS_API BatchDisassociateResourceRequest() = 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 "BatchDisassociateResource"; }
32
33 AWS_FMS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetResourceSetIdentifier() const { return m_resourceSetIdentifier; }
44 inline bool ResourceSetIdentifierHasBeenSet() const { return m_resourceSetIdentifierHasBeenSet; }
45 template<typename ResourceSetIdentifierT = Aws::String>
46 void SetResourceSetIdentifier(ResourceSetIdentifierT&& value) { m_resourceSetIdentifierHasBeenSet = true; m_resourceSetIdentifier = std::forward<ResourceSetIdentifierT>(value); }
47 template<typename ResourceSetIdentifierT = Aws::String>
48 BatchDisassociateResourceRequest& WithResourceSetIdentifier(ResourceSetIdentifierT&& value) { SetResourceSetIdentifier(std::forward<ResourceSetIdentifierT>(value)); return *this;}
50
52
57 inline const Aws::Vector<Aws::String>& GetItems() const { return m_items; }
58 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
59 template<typename ItemsT = Aws::Vector<Aws::String>>
60 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
61 template<typename ItemsT = Aws::Vector<Aws::String>>
62 BatchDisassociateResourceRequest& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
63 template<typename ItemsT = Aws::String>
64 BatchDisassociateResourceRequest& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
66 private:
67
68 Aws::String m_resourceSetIdentifier;
69 bool m_resourceSetIdentifierHasBeenSet = false;
70
72 bool m_itemsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FMS
77} // namespace Aws
BatchDisassociateResourceRequest & WithItems(ItemsT &&value)
BatchDisassociateResourceRequest & WithResourceSetIdentifier(ResourceSetIdentifierT &&value)
AWS_FMS_API Aws::String SerializePayload() const override
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDisassociateResourceRequest & AddItems(ItemsT &&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