7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
59 inline void SetOrigin(
const char* value) { m_originHasBeenSet =
true; m_origin.assign(value); }
67 bool m_instanceIdHasBeenSet =
false;
70 bool m_originHasBeenSet =
false;
void SetOrigin(const char *value)
AssociateApprovedOriginRequest & WithInstanceId(const char *value)
AssociateApprovedOriginRequest & WithOrigin(const Aws::String &value)
AssociateApprovedOriginRequest & WithOrigin(Aws::String &&value)
bool OriginHasBeenSet() const
void SetOrigin(const Aws::String &value)
const Aws::String & GetInstanceId() const
AWS_CONNECT_API AssociateApprovedOriginRequest()
virtual const char * GetServiceRequestName() const override
bool InstanceIdHasBeenSet() const
AssociateApprovedOriginRequest & WithOrigin(const char *value)
void SetInstanceId(const Aws::String &value)
AssociateApprovedOriginRequest & WithInstanceId(Aws::String &&value)
void SetOrigin(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
void SetInstanceId(const char *value)
const Aws::String & GetOrigin() const
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateApprovedOriginRequest & WithInstanceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String