AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DissociatePackagesRequest.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.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 OpenSearchService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPENSEARCHSERVICE_API DissociatePackagesRequest() = 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 "DissociatePackages"; }
32
33 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetPackageList() const { return m_packageList; }
41 inline bool PackageListHasBeenSet() const { return m_packageListHasBeenSet; }
42 template<typename PackageListT = Aws::Vector<Aws::String>>
43 void SetPackageList(PackageListT&& value) { m_packageListHasBeenSet = true; m_packageList = std::forward<PackageListT>(value); }
44 template<typename PackageListT = Aws::Vector<Aws::String>>
45 DissociatePackagesRequest& WithPackageList(PackageListT&& value) { SetPackageList(std::forward<PackageListT>(value)); return *this;}
46 template<typename PackageListT = Aws::String>
47 DissociatePackagesRequest& AddPackageList(PackageListT&& value) { m_packageListHasBeenSet = true; m_packageList.emplace_back(std::forward<PackageListT>(value)); return *this; }
49
51
52 inline const Aws::String& GetDomainName() const { return m_domainName; }
53 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
54 template<typename DomainNameT = Aws::String>
55 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
56 template<typename DomainNameT = Aws::String>
57 DissociatePackagesRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
59 private:
60
61 Aws::Vector<Aws::String> m_packageList;
62 bool m_packageListHasBeenSet = false;
63
64 Aws::String m_domainName;
65 bool m_domainNameHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace OpenSearchService
70} // namespace Aws
const Aws::Vector< Aws::String > & GetPackageList() const
DissociatePackagesRequest & WithPackageList(PackageListT &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
DissociatePackagesRequest & AddPackageList(PackageListT &&value)
DissociatePackagesRequest & WithDomainName(DomainNameT &&value)
AWS_OPENSEARCHSERVICE_API DissociatePackagesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector