AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DisassociateGovernedTermsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/GovernedEntityType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API DisassociateGovernedTermsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DisassociateGovernedTerms"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
39 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
40 template <typename DomainIdentifierT = Aws::String>
41 void SetDomainIdentifier(DomainIdentifierT&& value) {
42 m_domainIdentifierHasBeenSet = true;
43 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
44 }
45 template <typename DomainIdentifierT = Aws::String>
47 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
57 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
58 template <typename EntityIdentifierT = Aws::String>
59 void SetEntityIdentifier(EntityIdentifierT&& value) {
60 m_entityIdentifierHasBeenSet = true;
61 m_entityIdentifier = std::forward<EntityIdentifierT>(value);
62 }
63 template <typename EntityIdentifierT = Aws::String>
65 SetEntityIdentifier(std::forward<EntityIdentifierT>(value));
66 return *this;
67 }
69
71
75 inline GovernedEntityType GetEntityType() const { return m_entityType; }
76 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
77 inline void SetEntityType(GovernedEntityType value) {
78 m_entityTypeHasBeenSet = true;
79 m_entityType = value;
80 }
82 SetEntityType(value);
83 return *this;
84 }
86
88
92 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
93 inline bool GovernedGlossaryTermsHasBeenSet() const { return m_governedGlossaryTermsHasBeenSet; }
94 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
95 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) {
96 m_governedGlossaryTermsHasBeenSet = true;
97 m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value);
98 }
99 template <typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
101 SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value));
102 return *this;
103 }
104 template <typename GovernedGlossaryTermsT = Aws::String>
106 m_governedGlossaryTermsHasBeenSet = true;
107 m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_domainIdentifier;
113
114 Aws::String m_entityIdentifier;
115
117
118 Aws::Vector<Aws::String> m_governedGlossaryTerms;
119 bool m_domainIdentifierHasBeenSet = false;
120 bool m_entityIdentifierHasBeenSet = false;
121 bool m_entityTypeHasBeenSet = false;
122 bool m_governedGlossaryTermsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace DataZone
127} // namespace Aws
DisassociateGovernedTermsRequest & WithEntityType(GovernedEntityType value)
DisassociateGovernedTermsRequest & WithEntityIdentifier(EntityIdentifierT &&value)
DisassociateGovernedTermsRequest & WithGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
const Aws::Vector< Aws::String > & GetGovernedGlossaryTerms() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
DisassociateGovernedTermsRequest & AddGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
DisassociateGovernedTermsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API DisassociateGovernedTermsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector