AWS SDK for C++

AWS SDK for C++ Version 1.11.922

Loading...
Searching...
No Matches
CreateIntegrationRequest.h
1
6#pragma once
7#include <aws/continuum/ContinuumRequest.h>
8#include <aws/continuum/Continuum_EXPORTS.h>
9#include <aws/continuum/model/ProviderConfiguration.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Continuum {
17namespace Model {
18
26 public:
27 AWS_CONTINUUM_API CreateIntegrationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateIntegration"; }
34
35 AWS_CONTINUUM_API Aws::String SerializePayload() const override;
36
38
49 inline const Aws::String& GetClientToken() const { return m_clientToken; }
50 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
51 template <typename ClientTokenT = Aws::String>
52 void SetClientToken(ClientTokenT&& value) {
53 m_clientTokenHasBeenSet = true;
54 m_clientToken = std::forward<ClientTokenT>(value);
55 }
56 template <typename ClientTokenT = Aws::String>
58 SetClientToken(std::forward<ClientTokenT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetName() const { return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 template <typename NameT = Aws::String>
70 void SetName(NameT&& value) {
71 m_nameHasBeenSet = true;
72 m_name = std::forward<NameT>(value);
73 }
74 template <typename NameT = Aws::String>
76 SetName(std::forward<NameT>(value));
77 return *this;
78 }
80
82
86 inline const ProviderConfiguration& GetProviderConfiguration() const { return m_providerConfiguration; }
87 inline bool ProviderConfigurationHasBeenSet() const { return m_providerConfigurationHasBeenSet; }
88 template <typename ProviderConfigurationT = ProviderConfiguration>
89 void SetProviderConfiguration(ProviderConfigurationT&& value) {
90 m_providerConfigurationHasBeenSet = true;
91 m_providerConfiguration = std::forward<ProviderConfigurationT>(value);
92 }
93 template <typename ProviderConfigurationT = ProviderConfiguration>
94 CreateIntegrationRequest& WithProviderConfiguration(ProviderConfigurationT&& value) {
95 SetProviderConfiguration(std::forward<ProviderConfigurationT>(value));
96 return *this;
97 }
99 private:
101
102 Aws::String m_name;
103
104 ProviderConfiguration m_providerConfiguration;
105 bool m_clientTokenHasBeenSet = true;
106 bool m_nameHasBeenSet = false;
107 bool m_providerConfigurationHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace Continuum
112} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CONTINUUM_API Aws::String SerializePayload() const override
CreateIntegrationRequest & WithProviderConfiguration(ProviderConfigurationT &&value)
void SetProviderConfiguration(ProviderConfigurationT &&value)
const ProviderConfiguration & GetProviderConfiguration() const
CreateIntegrationRequest & WithName(NameT &&value)
CreateIntegrationRequest & WithClientToken(ClientTokenT &&value)
AWS_CONTINUUM_API CreateIntegrationRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String