AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DeleteProjectRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace DataZone {
18namespace Model {
19
23 public:
24 AWS_DATAZONE_API DeleteProjectRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteProject"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
34 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
41 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
42 template <typename DomainIdentifierT = Aws::String>
43 void SetDomainIdentifier(DomainIdentifierT&& value) {
44 m_domainIdentifierHasBeenSet = true;
45 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
46 }
47 template <typename DomainIdentifierT = Aws::String>
48 DeleteProjectRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
49 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetIdentifier() const { return m_identifier; }
59 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
60 template <typename IdentifierT = Aws::String>
61 void SetIdentifier(IdentifierT&& value) {
62 m_identifierHasBeenSet = true;
63 m_identifier = std::forward<IdentifierT>(value);
64 }
65 template <typename IdentifierT = Aws::String>
66 DeleteProjectRequest& WithIdentifier(IdentifierT&& value) {
67 SetIdentifier(std::forward<IdentifierT>(value));
68 return *this;
69 }
71
73
77 inline bool GetSkipDeletionCheck() const { return m_skipDeletionCheck; }
78 inline bool SkipDeletionCheckHasBeenSet() const { return m_skipDeletionCheckHasBeenSet; }
79 inline void SetSkipDeletionCheck(bool value) {
80 m_skipDeletionCheckHasBeenSet = true;
81 m_skipDeletionCheck = value;
82 }
85 return *this;
86 }
88 private:
89 Aws::String m_domainIdentifier;
90 bool m_domainIdentifierHasBeenSet = false;
91
92 Aws::String m_identifier;
93 bool m_identifierHasBeenSet = false;
94
95 bool m_skipDeletionCheck{false};
96 bool m_skipDeletionCheckHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace DataZone
101} // namespace Aws
DeleteProjectRequest & WithSkipDeletionCheck(bool value)
void SetDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
DeleteProjectRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_DATAZONE_API DeleteProjectRequest()=default
DeleteProjectRequest & WithIdentifier(IdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String