AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteDomainRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace DataZone
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DATAZONE_API DeleteDomainRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteDomain"; }
36
37 AWS_DATAZONE_API Aws::String SerializePayload() const override;
38
39 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetClientToken() const { return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 template<typename ClientTokenT = Aws::String>
50 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
51 template<typename ClientTokenT = Aws::String>
52 DeleteDomainRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
54
56
59 inline const Aws::String& GetIdentifier() const { return m_identifier; }
60 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
61 template<typename IdentifierT = Aws::String>
62 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
63 template<typename IdentifierT = Aws::String>
64 DeleteDomainRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
66
68
72 inline bool GetSkipDeletionCheck() const { return m_skipDeletionCheck; }
73 inline bool SkipDeletionCheckHasBeenSet() const { return m_skipDeletionCheckHasBeenSet; }
74 inline void SetSkipDeletionCheck(bool value) { m_skipDeletionCheckHasBeenSet = true; m_skipDeletionCheck = value; }
75 inline DeleteDomainRequest& WithSkipDeletionCheck(bool value) { SetSkipDeletionCheck(value); return *this;}
77 private:
78
80 bool m_clientTokenHasBeenSet = true;
81
82 Aws::String m_identifier;
83 bool m_identifierHasBeenSet = false;
84
85 bool m_skipDeletionCheck{false};
86 bool m_skipDeletionCheckHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DataZone
91} // namespace Aws
DeleteDomainRequest & WithSkipDeletionCheck(bool value)
DeleteDomainRequest & WithClientToken(ClientTokenT &&value)
DeleteDomainRequest & WithIdentifier(IdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_DATAZONE_API DeleteDomainRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String