AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
AssociateGovernedTermsRequest.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 AssociateGovernedTermsRequest() = 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 "AssociateGovernedTerms"; }
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 AssociateGovernedTermsRequest& 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 AssociateGovernedTermsRequest& WithEntityIdentifier(EntityIdentifierT&& value) { SetEntityIdentifier(std::forward<EntityIdentifierT>(value)); return *this;}
61
63
66 inline GovernedEntityType GetEntityType() const { return m_entityType; }
67 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
68 inline void SetEntityType(GovernedEntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
71
73
76 inline const Aws::Vector<Aws::String>& GetGovernedGlossaryTerms() const { return m_governedGlossaryTerms; }
77 inline bool GovernedGlossaryTermsHasBeenSet() const { return m_governedGlossaryTermsHasBeenSet; }
78 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
79 void SetGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms = std::forward<GovernedGlossaryTermsT>(value); }
80 template<typename GovernedGlossaryTermsT = Aws::Vector<Aws::String>>
81 AssociateGovernedTermsRequest& WithGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { SetGovernedGlossaryTerms(std::forward<GovernedGlossaryTermsT>(value)); return *this;}
82 template<typename GovernedGlossaryTermsT = Aws::String>
83 AssociateGovernedTermsRequest& AddGovernedGlossaryTerms(GovernedGlossaryTermsT&& value) { m_governedGlossaryTermsHasBeenSet = true; m_governedGlossaryTerms.emplace_back(std::forward<GovernedGlossaryTermsT>(value)); return *this; }
85 private:
86
87 Aws::String m_domainIdentifier;
88 bool m_domainIdentifierHasBeenSet = false;
89
90 Aws::String m_entityIdentifier;
91 bool m_entityIdentifierHasBeenSet = false;
92
94 bool m_entityTypeHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_governedGlossaryTerms;
97 bool m_governedGlossaryTermsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace DataZone
102} // namespace Aws
AWS_DATAZONE_API AssociateGovernedTermsRequest()=default
const Aws::Vector< Aws::String > & GetGovernedGlossaryTerms() const
AssociateGovernedTermsRequest & WithEntityType(GovernedEntityType value)
AssociateGovernedTermsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AssociateGovernedTermsRequest & WithGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
AssociateGovernedTermsRequest & AddGovernedGlossaryTerms(GovernedGlossaryTermsT &&value)
AssociateGovernedTermsRequest & WithEntityIdentifier(EntityIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector