AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
DeleteEnvironmentConnectionRequest.h
1
6#pragma once
7#include <aws/assurance/AssuranceRequest.h>
8#include <aws/assurance/Assurance_EXPORTS.h>
9#include <aws/assurance/model/ConnectionProviderKey.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Assurance {
16namespace Model {
17
21 public:
22 AWS_ASSURANCE_API DeleteEnvironmentConnectionRequest() = 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 "DeleteEnvironmentConnection"; }
29
30 AWS_ASSURANCE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
39 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
40 template <typename EnvironmentArnT = Aws::String>
41 void SetEnvironmentArn(EnvironmentArnT&& value) {
42 m_environmentArnHasBeenSet = true;
43 m_environmentArn = std::forward<EnvironmentArnT>(value);
44 }
45 template <typename EnvironmentArnT = Aws::String>
47 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
60 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
61 template <typename ConnectionIdT = Aws::String>
62 void SetConnectionId(ConnectionIdT&& value) {
63 m_connectionIdHasBeenSet = true;
64 m_connectionId = std::forward<ConnectionIdT>(value);
65 }
66 template <typename ConnectionIdT = Aws::String>
68 SetConnectionId(std::forward<ConnectionIdT>(value));
69 return *this;
70 }
72
74
77 inline const ConnectionProviderKey& GetProviderConfig() const { return m_providerConfig; }
78 inline bool ProviderConfigHasBeenSet() const { return m_providerConfigHasBeenSet; }
79 template <typename ProviderConfigT = ConnectionProviderKey>
80 void SetProviderConfig(ProviderConfigT&& value) {
81 m_providerConfigHasBeenSet = true;
82 m_providerConfig = std::forward<ProviderConfigT>(value);
83 }
84 template <typename ProviderConfigT = ConnectionProviderKey>
86 SetProviderConfig(std::forward<ProviderConfigT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_environmentArn;
92
93 Aws::String m_connectionId;
94
95 ConnectionProviderKey m_providerConfig;
96 bool m_environmentArnHasBeenSet = false;
97 bool m_connectionIdHasBeenSet = false;
98 bool m_providerConfigHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Assurance
103} // namespace Aws
AWS_ASSURANCE_API Aws::String SerializePayload() const override
DeleteEnvironmentConnectionRequest & WithConnectionId(ConnectionIdT &&value)
DeleteEnvironmentConnectionRequest & WithEnvironmentArn(EnvironmentArnT &&value)
AWS_ASSURANCE_API DeleteEnvironmentConnectionRequest()=default
DeleteEnvironmentConnectionRequest & WithProviderConfig(ProviderConfigT &&value)
AWS_ASSURANCE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String