AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateConnectionRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/model/AwsLocation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/ConnectionPropertiesPatch.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API UpdateConnectionRequest() = 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 "UpdateConnection"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const AwsLocation& GetAwsLocation() const { return m_awsLocation; }
42 inline bool AwsLocationHasBeenSet() const { return m_awsLocationHasBeenSet; }
43 template<typename AwsLocationT = AwsLocation>
44 void SetAwsLocation(AwsLocationT&& value) { m_awsLocationHasBeenSet = true; m_awsLocation = std::forward<AwsLocationT>(value); }
45 template<typename AwsLocationT = AwsLocation>
46 UpdateConnectionRequest& WithAwsLocation(AwsLocationT&& value) { SetAwsLocation(std::forward<AwsLocationT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 UpdateConnectionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
66 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
67 template<typename DomainIdentifierT = Aws::String>
68 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
69 template<typename DomainIdentifierT = Aws::String>
70 UpdateConnectionRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
72
74
77 inline const Aws::String& GetIdentifier() const { return m_identifier; }
78 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
79 template<typename IdentifierT = Aws::String>
80 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
81 template<typename IdentifierT = Aws::String>
82 UpdateConnectionRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
84
86
89 inline const ConnectionPropertiesPatch& GetProps() const { return m_props; }
90 inline bool PropsHasBeenSet() const { return m_propsHasBeenSet; }
91 template<typename PropsT = ConnectionPropertiesPatch>
92 void SetProps(PropsT&& value) { m_propsHasBeenSet = true; m_props = std::forward<PropsT>(value); }
93 template<typename PropsT = ConnectionPropertiesPatch>
94 UpdateConnectionRequest& WithProps(PropsT&& value) { SetProps(std::forward<PropsT>(value)); return *this;}
96 private:
97
98 AwsLocation m_awsLocation;
99 bool m_awsLocationHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 Aws::String m_domainIdentifier;
105 bool m_domainIdentifierHasBeenSet = false;
106
107 Aws::String m_identifier;
108 bool m_identifierHasBeenSet = false;
109
111 bool m_propsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DataZone
116} // 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