7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/FileUseCaseType.h>
11#include <aws/connect/model/CreatedByInfo.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
57 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
71 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
85 inline void SetFileName(
const char* value) { m_fileNameHasBeenSet =
true; m_fileName.assign(value); }
97 inline void SetFileSizeInBytes(
long long value) { m_fileSizeInBytesHasBeenSet =
true; m_fileSizeInBytes = value; }
108 inline void SetUrlExpiryInSeconds(
int value) { m_urlExpiryInSecondsHasBeenSet =
true; m_urlExpiryInSeconds = value; }
135 inline void SetAssociatedResourceArn(
const char* value) { m_associatedResourceArnHasBeenSet =
true; m_associatedResourceArn.assign(value); }
175 bool m_clientTokenHasBeenSet =
false;
178 bool m_instanceIdHasBeenSet =
false;
181 bool m_fileNameHasBeenSet =
false;
183 long long m_fileSizeInBytes;
184 bool m_fileSizeInBytesHasBeenSet =
false;
186 int m_urlExpiryInSeconds;
187 bool m_urlExpiryInSecondsHasBeenSet =
false;
190 bool m_fileUseCaseTypeHasBeenSet =
false;
193 bool m_associatedResourceArnHasBeenSet =
false;
196 bool m_createdByHasBeenSet =
false;
199 bool m_tagsHasBeenSet =
false;
bool UrlExpiryInSecondsHasBeenSet() const
int GetUrlExpiryInSeconds() const
void SetFileName(const Aws::String &value)
StartAttachedFileUploadRequest & WithInstanceId(Aws::String &&value)
StartAttachedFileUploadRequest & AddTags(const char *key, Aws::String &&value)
void SetInstanceId(const Aws::String &value)
StartAttachedFileUploadRequest & WithAssociatedResourceArn(const char *value)
void SetCreatedBy(CreatedByInfo &&value)
const Aws::String & GetAssociatedResourceArn() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartAttachedFileUploadRequest & WithFileUseCaseType(const FileUseCaseType &value)
const CreatedByInfo & GetCreatedBy() const
void SetFileUseCaseType(FileUseCaseType &&value)
StartAttachedFileUploadRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetAssociatedResourceArn(const char *value)
void SetFileName(const char *value)
StartAttachedFileUploadRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetAssociatedResourceArn(Aws::String &&value)
void SetFileName(Aws::String &&value)
StartAttachedFileUploadRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool CreatedByHasBeenSet() const
StartAttachedFileUploadRequest & WithInstanceId(const char *value)
StartAttachedFileUploadRequest & WithFileUseCaseType(FileUseCaseType &&value)
StartAttachedFileUploadRequest & WithCreatedBy(const CreatedByInfo &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool InstanceIdHasBeenSet() const
StartAttachedFileUploadRequest & WithFileName(const char *value)
bool TagsHasBeenSet() const
StartAttachedFileUploadRequest & WithFileName(const Aws::String &value)
bool FileNameHasBeenSet() const
StartAttachedFileUploadRequest & WithClientToken(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetClientToken(Aws::String &&value)
AWS_CONNECT_API StartAttachedFileUploadRequest()
bool AssociatedResourceArnHasBeenSet() const
StartAttachedFileUploadRequest & WithCreatedBy(CreatedByInfo &&value)
StartAttachedFileUploadRequest & WithAssociatedResourceArn(const Aws::String &value)
bool ClientTokenHasBeenSet() const
void SetAssociatedResourceArn(const Aws::String &value)
void SetClientToken(const char *value)
long long GetFileSizeInBytes() const
StartAttachedFileUploadRequest & WithClientToken(const Aws::String &value)
bool FileSizeInBytesHasBeenSet() const
StartAttachedFileUploadRequest & WithAssociatedResourceArn(Aws::String &&value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetClientToken() const
void SetFileSizeInBytes(long long value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool FileUseCaseTypeHasBeenSet() const
void SetCreatedBy(const CreatedByInfo &value)
StartAttachedFileUploadRequest & WithInstanceId(const Aws::String &value)
StartAttachedFileUploadRequest & AddTags(Aws::String &&key, const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetInstanceId(Aws::String &&value)
void SetFileUseCaseType(const FileUseCaseType &value)
StartAttachedFileUploadRequest & AddTags(const Aws::String &key, Aws::String &&value)
StartAttachedFileUploadRequest & WithFileName(Aws::String &&value)
void SetInstanceId(const char *value)
StartAttachedFileUploadRequest & AddTags(const Aws::String &key, const Aws::String &value)
StartAttachedFileUploadRequest & WithClientToken(const char *value)
StartAttachedFileUploadRequest & WithFileSizeInBytes(long long value)
const FileUseCaseType & GetFileUseCaseType() const
StartAttachedFileUploadRequest & WithUrlExpiryInSeconds(int value)
virtual const char * GetServiceRequestName() const override
StartAttachedFileUploadRequest & AddTags(const char *key, const char *value)
void SetUrlExpiryInSeconds(int value)
const Aws::String & GetFileName() const
const Aws::String & GetInstanceId() const
StartAttachedFileUploadRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String