AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetResourceSnapshotRequest.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/partnercentral-selling/model/ResourceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PartnerCentralSelling
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetResourceSnapshot"; }
32
33 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
34
35 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
45 inline const Aws::String& GetCatalog() const { return m_catalog; }
46 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
47 template<typename CatalogT = Aws::String>
48 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
49 template<typename CatalogT = Aws::String>
50 GetResourceSnapshotRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
52
54
58 inline const Aws::String& GetEngagementIdentifier() const { return m_engagementIdentifier; }
59 inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; }
60 template<typename EngagementIdentifierT = Aws::String>
61 void SetEngagementIdentifier(EngagementIdentifierT&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::forward<EngagementIdentifierT>(value); }
62 template<typename EngagementIdentifierT = Aws::String>
63 GetResourceSnapshotRequest& WithEngagementIdentifier(EngagementIdentifierT&& value) { SetEngagementIdentifier(std::forward<EngagementIdentifierT>(value)); return *this;}
65
67
73 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
74 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
75 template<typename ResourceIdentifierT = Aws::String>
76 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
77 template<typename ResourceIdentifierT = Aws::String>
78 GetResourceSnapshotRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
80
82
88 inline const Aws::String& GetResourceSnapshotTemplateIdentifier() const { return m_resourceSnapshotTemplateIdentifier; }
89 inline bool ResourceSnapshotTemplateIdentifierHasBeenSet() const { return m_resourceSnapshotTemplateIdentifierHasBeenSet; }
90 template<typename ResourceSnapshotTemplateIdentifierT = Aws::String>
91 void SetResourceSnapshotTemplateIdentifier(ResourceSnapshotTemplateIdentifierT&& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = std::forward<ResourceSnapshotTemplateIdentifierT>(value); }
92 template<typename ResourceSnapshotTemplateIdentifierT = Aws::String>
93 GetResourceSnapshotRequest& WithResourceSnapshotTemplateIdentifier(ResourceSnapshotTemplateIdentifierT&& value) { SetResourceSnapshotTemplateIdentifier(std::forward<ResourceSnapshotTemplateIdentifierT>(value)); return *this;}
95
97
102 inline ResourceType GetResourceType() const { return m_resourceType; }
103 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
104 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
107
109
113 inline int GetRevision() const { return m_revision; }
114 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
115 inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; }
116 inline GetResourceSnapshotRequest& WithRevision(int value) { SetRevision(value); return *this;}
118 private:
119
120 Aws::String m_catalog;
121 bool m_catalogHasBeenSet = false;
122
123 Aws::String m_engagementIdentifier;
124 bool m_engagementIdentifierHasBeenSet = false;
125
126 Aws::String m_resourceIdentifier;
127 bool m_resourceIdentifierHasBeenSet = false;
128
129 Aws::String m_resourceSnapshotTemplateIdentifier;
130 bool m_resourceSnapshotTemplateIdentifierHasBeenSet = false;
131
132 ResourceType m_resourceType{ResourceType::NOT_SET};
133 bool m_resourceTypeHasBeenSet = false;
134
135 int m_revision{0};
136 bool m_revisionHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace PartnerCentralSelling
141} // namespace Aws
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotRequest()=default
GetResourceSnapshotRequest & WithResourceType(ResourceType value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
GetResourceSnapshotRequest & WithEngagementIdentifier(EngagementIdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetResourceSnapshotRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
GetResourceSnapshotRequest & WithResourceSnapshotTemplateIdentifier(ResourceSnapshotTemplateIdentifierT &&value)
void SetResourceSnapshotTemplateIdentifier(ResourceSnapshotTemplateIdentifierT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String