AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateConnectionRequest.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#include <aws/datazone/model/AwsLocation.h>
11#include <aws/datazone/model/ConnectionPropertiesPatch.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API UpdateConnectionRequest() = 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 "UpdateConnection"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
37 inline const AwsLocation& GetAwsLocation() const { return m_awsLocation; }
38 inline bool AwsLocationHasBeenSet() const { return m_awsLocationHasBeenSet; }
39 template <typename AwsLocationT = AwsLocation>
40 void SetAwsLocation(AwsLocationT&& value) {
41 m_awsLocationHasBeenSet = true;
42 m_awsLocation = std::forward<AwsLocationT>(value);
43 }
44 template <typename AwsLocationT = AwsLocation>
46 SetAwsLocation(std::forward<AwsLocationT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
74 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
75 template <typename DomainIdentifierT = Aws::String>
76 void SetDomainIdentifier(DomainIdentifierT&& value) {
77 m_domainIdentifierHasBeenSet = true;
78 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
79 }
80 template <typename DomainIdentifierT = Aws::String>
81 UpdateConnectionRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
82 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetIdentifier() const { return m_identifier; }
92 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
93 template <typename IdentifierT = Aws::String>
94 void SetIdentifier(IdentifierT&& value) {
95 m_identifierHasBeenSet = true;
96 m_identifier = std::forward<IdentifierT>(value);
97 }
98 template <typename IdentifierT = Aws::String>
100 SetIdentifier(std::forward<IdentifierT>(value));
101 return *this;
102 }
104
106
109 inline const ConnectionPropertiesPatch& GetProps() const { return m_props; }
110 inline bool PropsHasBeenSet() const { return m_propsHasBeenSet; }
111 template <typename PropsT = ConnectionPropertiesPatch>
112 void SetProps(PropsT&& value) {
113 m_propsHasBeenSet = true;
114 m_props = std::forward<PropsT>(value);
115 }
116 template <typename PropsT = ConnectionPropertiesPatch>
118 SetProps(std::forward<PropsT>(value));
119 return *this;
120 }
122 private:
123 AwsLocation m_awsLocation;
124 bool m_awsLocationHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::String m_domainIdentifier;
130 bool m_domainIdentifierHasBeenSet = false;
131
132 Aws::String m_identifier;
133 bool m_identifierHasBeenSet = false;
134
136 bool m_propsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace DataZone
141} // namespace Aws
virtual const char * GetServiceRequestName() const override
const ConnectionPropertiesPatch & GetProps() const
UpdateConnectionRequest & WithProps(PropsT &&value)
UpdateConnectionRequest & WithAwsLocation(AwsLocationT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateConnectionRequest & WithDomainIdentifier(DomainIdentifierT &&value)
UpdateConnectionRequest & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API UpdateConnectionRequest()=default
UpdateConnectionRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String