7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/AgreementStatusType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/awstransfer/model/Tag.h>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
66 inline void SetAgreementId(
const char* value) { m_agreementIdHasBeenSet =
true; m_agreementId.assign(value); }
80 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
108 inline void SetServerId(
const char* value) { m_serverIdHasBeenSet =
true; m_serverId.assign(value); }
122 inline void SetLocalProfileId(
const char* value) { m_localProfileIdHasBeenSet =
true; m_localProfileId.assign(value); }
136 inline void SetPartnerProfileId(
const char* value) { m_partnerProfileIdHasBeenSet =
true; m_partnerProfileId.assign(value); }
151 inline void SetBaseDirectory(
const char* value) { m_baseDirectoryHasBeenSet =
true; m_baseDirectory.assign(value); }
188 inline void SetAccessRole(
const char* value) { m_accessRoleHasBeenSet =
true; m_accessRole.assign(value); }
210 bool m_arnHasBeenSet =
false;
213 bool m_agreementIdHasBeenSet =
false;
216 bool m_descriptionHasBeenSet =
false;
219 bool m_statusHasBeenSet =
false;
222 bool m_serverIdHasBeenSet =
false;
225 bool m_localProfileIdHasBeenSet =
false;
228 bool m_partnerProfileIdHasBeenSet =
false;
231 bool m_baseDirectoryHasBeenSet =
false;
234 bool m_accessRoleHasBeenSet =
false;
237 bool m_tagsHasBeenSet =
false;
AWS_TRANSFER_API DescribedAgreement()
DescribedAgreement & WithServerId(const Aws::String &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
bool AgreementIdHasBeenSet() const
DescribedAgreement & WithDescription(const Aws::String &value)
DescribedAgreement & WithStatus(const AgreementStatusType &value)
AWS_TRANSFER_API DescribedAgreement & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccessRoleHasBeenSet() const
void SetBaseDirectory(const Aws::String &value)
DescribedAgreement & WithAccessRole(Aws::String &&value)
bool DescriptionHasBeenSet() const
DescribedAgreement & WithAccessRole(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
DescribedAgreement & WithAgreementId(const Aws::String &value)
DescribedAgreement & WithBaseDirectory(Aws::String &&value)
DescribedAgreement & WithArn(const char *value)
bool StatusHasBeenSet() const
const Aws::String & GetAccessRole() const
DescribedAgreement & WithLocalProfileId(const char *value)
DescribedAgreement & WithServerId(const char *value)
DescribedAgreement & AddTags(Tag &&value)
DescribedAgreement & WithArn(Aws::String &&value)
void SetAccessRole(const Aws::String &value)
void SetBaseDirectory(const char *value)
DescribedAgreement & WithAccessRole(const Aws::String &value)
DescribedAgreement & WithPartnerProfileId(const char *value)
void SetArn(Aws::String &&value)
void SetServerId(Aws::String &&value)
const Aws::String & GetAgreementId() const
void SetAgreementId(const char *value)
void SetPartnerProfileId(const char *value)
void SetDescription(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
DescribedAgreement & WithPartnerProfileId(Aws::String &&value)
const Aws::String & GetArn() const
bool ArnHasBeenSet() const
void SetAccessRole(const char *value)
void SetPartnerProfileId(Aws::String &&value)
bool BaseDirectoryHasBeenSet() const
DescribedAgreement & WithPartnerProfileId(const Aws::String &value)
void SetLocalProfileId(const char *value)
DescribedAgreement & WithBaseDirectory(const char *value)
bool PartnerProfileIdHasBeenSet() const
DescribedAgreement & AddTags(const Tag &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetPartnerProfileId() const
DescribedAgreement & WithBaseDirectory(const Aws::String &value)
DescribedAgreement & WithArn(const Aws::String &value)
DescribedAgreement & WithTags(Aws::Vector< Tag > &&value)
bool LocalProfileIdHasBeenSet() const
void SetDescription(const char *value)
DescribedAgreement & WithAgreementId(Aws::String &&value)
AWS_TRANSFER_API DescribedAgreement(Aws::Utils::Json::JsonView jsonValue)
DescribedAgreement & WithTags(const Aws::Vector< Tag > &value)
void SetLocalProfileId(const Aws::String &value)
const Aws::String & GetServerId() const
const Aws::String & GetBaseDirectory() const
void SetServerId(const char *value)
DescribedAgreement & WithLocalProfileId(const Aws::String &value)
const AgreementStatusType & GetStatus() const
void SetBaseDirectory(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
DescribedAgreement & WithStatus(AgreementStatusType &&value)
bool TagsHasBeenSet() const
void SetAccessRole(Aws::String &&value)
DescribedAgreement & WithDescription(const char *value)
void SetPartnerProfileId(const Aws::String &value)
void SetAgreementId(const Aws::String &value)
void SetStatus(const AgreementStatusType &value)
const Aws::String & GetDescription() const
void SetArn(const char *value)
void SetStatus(AgreementStatusType &&value)
const Aws::String & GetLocalProfileId() const
DescribedAgreement & WithAgreementId(const char *value)
void SetAgreementId(Aws::String &&value)
DescribedAgreement & WithLocalProfileId(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetLocalProfileId(Aws::String &&value)
DescribedAgreement & WithServerId(Aws::String &&value)
DescribedAgreement & WithDescription(Aws::String &&value)
bool ServerIdHasBeenSet() const
void SetServerId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue