AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
DisassociateGovernedTermsRequest.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 <aws/datazone/model/GovernedEntityType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API DisassociateGovernedTermsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DisassociateGovernedTerms"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
43 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
44 template<typename DomainIdentifierT = Aws::String>
45 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
46 template<typename DomainIdentifierT = Aws::String>
47 DisassociateGovernedTermsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
49
51
54 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
55 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
56 template<typename EntityIdentifierT = Aws::String>
57 void SetEntityIdentifier(EntityIdentifierT&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::forward<EntityIdentifierT>(value); }
58 template<typename EntityIdentifierT = Aws::String>
59 DisassociateGovernedTermsRequest& WithEntityIdentifier(EntityIdentifierT&& value) { SetEntityIdentifier(std::forward<EntityIdentifierT>(value)); return *this;}
61
63
67 inline GovernedEntityType GetEntityType() const { return m_entityType; }
68 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
69 inline void SetEntityType(GovernedEntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
72
74
78 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
79 inline bool GovernedGlossaryTermsHasBeenSet() const { return m_governedGlossaryTermsHasBeenSet; }
80 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
81 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value); }
82 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
83 DisassociateGovernedTermsRequest& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value)); return *this;}
84 template<typename GovernedGlossaryTermsT = Aws::String>
85 DisassociateGovernedTermsRequest& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value)); return *this; }
87 private:
88
89 Aws::String m_domainIdentifier;
90 bool m_domainIdentifierHasBeenSet = false;
91
92 Aws::String m_entityIdentifier;
93 bool m_entityIdentifierHasBeenSet = false;
94
96 bool m_entityTypeHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_governedGlossaryTerms;
99 bool m_governedGlossaryTermsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace DataZone
104} // 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