7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/ResourceType.h>
22namespace PartnerCentralSelling
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
64 template<
typename CreatedByT = Aws::String>
65 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
66 template<
typename CreatedByT = Aws::String>
77 template<
typename ResourceIdT = Aws::String>
78 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
79 template<
typename ResourceIdT = Aws::String>
89 template<
typename ResourceSnapshotTemplateNameT = Aws::String>
90 void SetResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT&& value) { m_resourceSnapshotTemplateNameHasBeenSet =
true; m_resourceSnapshotTemplateName = std::forward<ResourceSnapshotTemplateNameT>(value); }
91 template<
typename ResourceSnapshotTemplateNameT = Aws::String>
113 inline void SetRevision(
int value) { m_revisionHasBeenSet =
true; m_revision = value; }
119 bool m_arnHasBeenSet =
false;
122 bool m_createdByHasBeenSet =
false;
125 bool m_resourceIdHasBeenSet =
false;
128 bool m_resourceSnapshotTemplateNameHasBeenSet =
false;
131 bool m_resourceTypeHasBeenSet =
false;
134 bool m_revisionHasBeenSet =
false;
ResourceSnapshotSummary & WithArn(ArnT &&value)
ResourceSnapshotSummary & WithResourceId(ResourceIdT &&value)
const Aws::String & GetCreatedBy() const
ResourceType GetResourceType() const
bool ArnHasBeenSet() const
bool ResourceTypeHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotSummary()=default
ResourceSnapshotSummary & WithResourceType(ResourceType value)
void SetArn(ArnT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT &&value)
bool ResourceIdHasBeenSet() const
ResourceSnapshotSummary & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetResourceId() const
bool ResourceSnapshotTemplateNameHasBeenSet() const
ResourceSnapshotSummary & WithResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT &&value)
void SetRevision(int value)
void SetResourceType(ResourceType value)
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
ResourceSnapshotSummary & WithRevision(int value)
const Aws::String & GetResourceSnapshotTemplateName() const
bool RevisionHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
bool CreatedByHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue