AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetResourceSetIdentifier(const Aws::String& value) { m_resourceSetIdentifierHasBeenSet = true; m_resourceSetIdentifier = value; }
46 inline void SetResourceSetIdentifier(Aws::String&& value) { m_resourceSetIdentifierHasBeenSet = true; m_resourceSetIdentifier = std::move(value); }
47 inline void SetResourceSetIdentifier(const char* value) { m_resourceSetIdentifierHasBeenSet = true; m_resourceSetIdentifier.assign(value); }
52
54
59 inline const Aws::Vector<Aws::String>& GetItems() const{ return m_items; }
60 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
61 inline void SetItems(const Aws::Vector<Aws::String>& value) { m_itemsHasBeenSet = true; m_items = value; }
62 inline void SetItems(Aws::Vector<Aws::String>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
63 inline BatchDisassociateResourceRequest& WithItems(const Aws::Vector<Aws::String>& value) { SetItems(value); return *this;}
64 inline BatchDisassociateResourceRequest& WithItems(Aws::Vector<Aws::String>&& value) { SetItems(std::move(value)); return *this;}
65 inline BatchDisassociateResourceRequest& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
66 inline BatchDisassociateResourceRequest& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
67 inline BatchDisassociateResourceRequest& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
69 private:
70
71 Aws::String m_resourceSetIdentifier;
72 bool m_resourceSetIdentifierHasBeenSet = false;
73
75 bool m_itemsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace FMS
80} // namespace Aws
BatchDisassociateResourceRequest & AddItems(const Aws::String &value)
BatchDisassociateResourceRequest & WithResourceSetIdentifier(const Aws::String &value)
BatchDisassociateResourceRequest & AddItems(const char *value)
BatchDisassociateResourceRequest & AddItems(Aws::String &&value)
AWS_FMS_API Aws::String SerializePayload() const override
BatchDisassociateResourceRequest & WithResourceSetIdentifier(Aws::String &&value)
void SetItems(const Aws::Vector< Aws::String > &value)
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDisassociateResourceRequest & WithItems(const Aws::Vector< Aws::String > &value)
BatchDisassociateResourceRequest & WithResourceSetIdentifier(const char *value)
BatchDisassociateResourceRequest & WithItems(Aws::Vector< 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