7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/ConnectionAuthorizationType.h>
11#include <aws/eventbridge/model/CreateConnectionAuthRequestParameters.h>
47 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
61 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
95 bool m_nameHasBeenSet =
false;
98 bool m_descriptionHasBeenSet =
false;
101 bool m_authorizationTypeHasBeenSet =
false;
104 bool m_authParametersHasBeenSet =
false;
CreateConnectionRequest & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
CreateConnectionRequest & WithAuthorizationType(const ConnectionAuthorizationType &value)
CreateConnectionRequest & WithName(Aws::String &&value)
CreateConnectionRequest & WithDescription(Aws::String &&value)
bool AuthorizationTypeHasBeenSet() const
CreateConnectionRequest & WithName(const char *value)
CreateConnectionRequest & WithName(const Aws::String &value)
const Aws::String & GetName() const
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateConnectionRequest & WithAuthParameters(const CreateConnectionAuthRequestParameters &value)
void SetAuthorizationType(ConnectionAuthorizationType &&value)
CreateConnectionRequest & WithAuthParameters(CreateConnectionAuthRequestParameters &&value)
void SetAuthParameters(const CreateConnectionAuthRequestParameters &value)
void SetAuthorizationType(const ConnectionAuthorizationType &value)
const Aws::String & GetDescription() const
AWS_EVENTBRIDGE_API CreateConnectionRequest()
void SetName(Aws::String &&value)
void SetAuthParameters(CreateConnectionAuthRequestParameters &&value)
const CreateConnectionAuthRequestParameters & GetAuthParameters() const
bool AuthParametersHasBeenSet() const
CreateConnectionRequest & WithAuthorizationType(ConnectionAuthorizationType &&value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
void SetName(const char *value)
CreateConnectionRequest & WithDescription(const Aws::String &value)
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
void SetDescription(const char *value)
void SetDescription(Aws::String &&value)
const ConnectionAuthorizationType & GetAuthorizationType() const
ConnectionAuthorizationType
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String