7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/awstransfer/model/AgreementStatusType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/awstransfer/model/Tag.h>
48 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
63 inline void SetServerId(
const char* value) { m_serverIdHasBeenSet =
true; m_serverId.assign(value); }
77 inline void SetLocalProfileId(
const char* value) { m_localProfileIdHasBeenSet =
true; m_localProfileId.assign(value); }
91 inline void SetPartnerProfileId(
const char* value) { m_partnerProfileIdHasBeenSet =
true; m_partnerProfileId.assign(value); }
107 inline void SetBaseDirectory(
const char* value) { m_baseDirectoryHasBeenSet =
true; m_baseDirectory.assign(value); }
144 inline void SetAccessRole(
const char* value) { m_accessRoleHasBeenSet =
true; m_accessRole.assign(value); }
179 bool m_descriptionHasBeenSet =
false;
182 bool m_serverIdHasBeenSet =
false;
185 bool m_localProfileIdHasBeenSet =
false;
188 bool m_partnerProfileIdHasBeenSet =
false;
191 bool m_baseDirectoryHasBeenSet =
false;
194 bool m_accessRoleHasBeenSet =
false;
197 bool m_statusHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
CreateAgreementRequest & WithBaseDirectory(Aws::String &&value)
CreateAgreementRequest & WithStatus(AgreementStatusType &&value)
void SetPartnerProfileId(const char *value)
bool PartnerProfileIdHasBeenSet() const
void SetBaseDirectory(const char *value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
CreateAgreementRequest & WithServerId(const char *value)
CreateAgreementRequest & AddTags(Tag &&value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetDescription() const
void SetLocalProfileId(const Aws::String &value)
CreateAgreementRequest & WithAccessRole(Aws::String &&value)
const Aws::String & GetBaseDirectory() const
bool DescriptionHasBeenSet() const
CreateAgreementRequest & WithDescription(const Aws::String &value)
AWS_TRANSFER_API CreateAgreementRequest()
void SetDescription(const Aws::String &value)
void SetAccessRole(const Aws::String &value)
CreateAgreementRequest & WithLocalProfileId(const char *value)
const Aws::String & GetServerId() const
bool TagsHasBeenSet() const
void SetServerId(const Aws::String &value)
CreateAgreementRequest & WithDescription(const char *value)
const Aws::String & GetPartnerProfileId() const
bool LocalProfileIdHasBeenSet() const
CreateAgreementRequest & WithLocalProfileId(Aws::String &&value)
void SetBaseDirectory(const Aws::String &value)
void SetAccessRole(const char *value)
const Aws::String & GetAccessRole() const
void SetPartnerProfileId(Aws::String &&value)
void SetServerId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool ServerIdHasBeenSet() const
CreateAgreementRequest & WithBaseDirectory(const Aws::String &value)
CreateAgreementRequest & WithBaseDirectory(const char *value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetStatus(AgreementStatusType &&value)
bool BaseDirectoryHasBeenSet() const
CreateAgreementRequest & WithTags(const Aws::Vector< Tag > &value)
CreateAgreementRequest & WithLocalProfileId(const Aws::String &value)
const Aws::String & GetLocalProfileId() const
CreateAgreementRequest & WithPartnerProfileId(Aws::String &&value)
CreateAgreementRequest & WithServerId(const Aws::String &value)
const AgreementStatusType & GetStatus() const
CreateAgreementRequest & WithPartnerProfileId(const Aws::String &value)
bool StatusHasBeenSet() const
void SetBaseDirectory(Aws::String &&value)
void SetStatus(const AgreementStatusType &value)
void SetPartnerProfileId(const Aws::String &value)
void SetLocalProfileId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetServerId(const char *value)
void SetAccessRole(Aws::String &&value)
CreateAgreementRequest & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetLocalProfileId(Aws::String &&value)
bool AccessRoleHasBeenSet() const
void SetDescription(const char *value)
CreateAgreementRequest & WithAccessRole(const Aws::String &value)
CreateAgreementRequest & WithPartnerProfileId(const char *value)
CreateAgreementRequest & WithServerId(Aws::String &&value)
CreateAgreementRequest & WithAccessRole(const char *value)
CreateAgreementRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAgreementRequest & WithStatus(const AgreementStatusType &value)
CreateAgreementRequest & AddTags(const Tag &value)
void SetTags(const Aws::Vector< Tag > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector