AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListResourceSnapshotsRequest.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 ListResourceSnapshotsRequest() = 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 "ListResourceSnapshots"; }
32
33 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
34
35 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetCatalog() const { return m_catalog; }
43 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
44 template<typename CatalogT = Aws::String>
45 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
46 template<typename CatalogT = Aws::String>
47 ListResourceSnapshotsRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
49
51
55 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
56 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
57 template<typename CreatedByT = Aws::String>
58 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
59 template<typename CreatedByT = Aws::String>
60 ListResourceSnapshotsRequest& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
62
64
67 inline const Aws::String& GetEngagementIdentifier() const { return m_engagementIdentifier; }
68 inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; }
69 template<typename EngagementIdentifierT = Aws::String>
70 void SetEngagementIdentifier(EngagementIdentifierT&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::forward<EngagementIdentifierT>(value); }
71 template<typename EngagementIdentifierT = Aws::String>
72 ListResourceSnapshotsRequest& WithEngagementIdentifier(EngagementIdentifierT&& value) { SetEngagementIdentifier(std::forward<EngagementIdentifierT>(value)); return *this;}
74
76
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 inline ListResourceSnapshotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
84
86
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 ListResourceSnapshotsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96
98
102 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
103 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
104 template<typename ResourceIdentifierT = Aws::String>
105 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
106 template<typename ResourceIdentifierT = Aws::String>
107 ListResourceSnapshotsRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
109
111
115 inline const Aws::String& GetResourceSnapshotTemplateIdentifier() const { return m_resourceSnapshotTemplateIdentifier; }
116 inline bool ResourceSnapshotTemplateIdentifierHasBeenSet() const { return m_resourceSnapshotTemplateIdentifierHasBeenSet; }
117 template<typename ResourceSnapshotTemplateIdentifierT = Aws::String>
118 void SetResourceSnapshotTemplateIdentifier(ResourceSnapshotTemplateIdentifierT&& value) { m_resourceSnapshotTemplateIdentifierHasBeenSet = true; m_resourceSnapshotTemplateIdentifier = std::forward<ResourceSnapshotTemplateIdentifierT>(value); }
119 template<typename ResourceSnapshotTemplateIdentifierT = Aws::String>
120 ListResourceSnapshotsRequest& WithResourceSnapshotTemplateIdentifier(ResourceSnapshotTemplateIdentifierT&& value) { SetResourceSnapshotTemplateIdentifier(std::forward<ResourceSnapshotTemplateIdentifierT>(value)); return *this;}
122
124
128 inline ResourceType GetResourceType() const { return m_resourceType; }
129 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
130 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
133 private:
134
135 Aws::String m_catalog;
136 bool m_catalogHasBeenSet = false;
137
138 Aws::String m_createdBy;
139 bool m_createdByHasBeenSet = false;
140
141 Aws::String m_engagementIdentifier;
142 bool m_engagementIdentifierHasBeenSet = false;
143
144 int m_maxResults{0};
145 bool m_maxResultsHasBeenSet = false;
146
147 Aws::String m_nextToken;
148 bool m_nextTokenHasBeenSet = false;
149
150 Aws::String m_resourceIdentifier;
151 bool m_resourceIdentifierHasBeenSet = false;
152
153 Aws::String m_resourceSnapshotTemplateIdentifier;
154 bool m_resourceSnapshotTemplateIdentifierHasBeenSet = false;
155
156 ResourceType m_resourceType{ResourceType::NOT_SET};
157 bool m_resourceTypeHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace PartnerCentralSelling
162} // namespace Aws
ListResourceSnapshotsRequest & WithCreatedBy(CreatedByT &&value)
void SetResourceSnapshotTemplateIdentifier(ResourceSnapshotTemplateIdentifierT &&value)
ListResourceSnapshotsRequest & WithEngagementIdentifier(EngagementIdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListResourceSnapshotsRequest & WithResourceType(ResourceType value)
ListResourceSnapshotsRequest & WithResourceSnapshotTemplateIdentifier(ResourceSnapshotTemplateIdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API ListResourceSnapshotsRequest()=default
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
ListResourceSnapshotsRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
ListResourceSnapshotsRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String