AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateIdNamespaceAssociationRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/IdMappingConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CleanRooms {
16namespace Model {
17
21 public:
22 AWS_CLEANROOMS_API UpdateIdNamespaceAssociationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdNamespaceAssociation"; }
29
30 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetIdNamespaceAssociationIdentifier() const { return m_idNamespaceAssociationIdentifier; }
38 inline bool IdNamespaceAssociationIdentifierHasBeenSet() const { return m_idNamespaceAssociationIdentifierHasBeenSet; }
39 template <typename IdNamespaceAssociationIdentifierT = Aws::String>
40 void SetIdNamespaceAssociationIdentifier(IdNamespaceAssociationIdentifierT&& value) {
41 m_idNamespaceAssociationIdentifierHasBeenSet = true;
42 m_idNamespaceAssociationIdentifier = std::forward<IdNamespaceAssociationIdentifierT>(value);
43 }
44 template <typename IdNamespaceAssociationIdentifierT = Aws::String>
46 SetIdNamespaceAssociationIdentifier(std::forward<IdNamespaceAssociationIdentifierT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
57 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
58 template <typename MembershipIdentifierT = Aws::String>
59 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
60 m_membershipIdentifierHasBeenSet = true;
61 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
62 }
63 template <typename MembershipIdentifierT = Aws::String>
65 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template <typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) {
96 m_descriptionHasBeenSet = true;
97 m_description = std::forward<DescriptionT>(value);
98 }
99 template <typename DescriptionT = Aws::String>
101 SetDescription(std::forward<DescriptionT>(value));
102 return *this;
103 }
105
107
110 inline const IdMappingConfig& GetIdMappingConfig() const { return m_idMappingConfig; }
111 inline bool IdMappingConfigHasBeenSet() const { return m_idMappingConfigHasBeenSet; }
112 template <typename IdMappingConfigT = IdMappingConfig>
113 void SetIdMappingConfig(IdMappingConfigT&& value) {
114 m_idMappingConfigHasBeenSet = true;
115 m_idMappingConfig = std::forward<IdMappingConfigT>(value);
116 }
117 template <typename IdMappingConfigT = IdMappingConfig>
119 SetIdMappingConfig(std::forward<IdMappingConfigT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_idNamespaceAssociationIdentifier;
125 bool m_idNamespaceAssociationIdentifierHasBeenSet = false;
126
127 Aws::String m_membershipIdentifier;
128 bool m_membershipIdentifierHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 IdMappingConfig m_idMappingConfig;
137 bool m_idMappingConfigHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace CleanRooms
142} // namespace Aws
UpdateIdNamespaceAssociationRequest & WithIdMappingConfig(IdMappingConfigT &&value)
AWS_CLEANROOMS_API UpdateIdNamespaceAssociationRequest()=default
UpdateIdNamespaceAssociationRequest & WithDescription(DescriptionT &&value)
void SetIdNamespaceAssociationIdentifier(IdNamespaceAssociationIdentifierT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
UpdateIdNamespaceAssociationRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
UpdateIdNamespaceAssociationRequest & WithIdNamespaceAssociationIdentifier(IdNamespaceAssociationIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String