7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/ResourceType.h>
20namespace PartnerCentralSelling {
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
66 m_revisionHasBeenSet =
true;
82 m_resourceTypeHasBeenSet =
true;
83 m_resourceType = value;
98 template <
typename ResourceIdT = Aws::String>
100 m_resourceIdHasBeenSet =
true;
101 m_resourceId = std::forward<ResourceIdT>(value);
103 template <
typename ResourceIdT = Aws::String>
116 template <
typename ResourceSnapshotTemplateNameT = Aws::String>
118 m_resourceSnapshotTemplateNameHasBeenSet =
true;
119 m_resourceSnapshotTemplateName = std::forward<ResourceSnapshotTemplateNameT>(value);
121 template <
typename ResourceSnapshotTemplateNameT = Aws::String>
135 template <
typename CreatedByT = Aws::String>
137 m_createdByHasBeenSet =
true;
138 m_createdBy = std::forward<CreatedByT>(value);
140 template <
typename CreatedByT = Aws::String>
158 bool m_arnHasBeenSet =
false;
159 bool m_revisionHasBeenSet =
false;
160 bool m_resourceTypeHasBeenSet =
false;
161 bool m_resourceIdHasBeenSet =
false;
162 bool m_resourceSnapshotTemplateNameHasBeenSet =
false;
163 bool m_createdByHasBeenSet =
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