AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StartResourceSnapshotJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace PartnerCentralSelling {
15namespace Model {
16
20 public:
21 AWS_PARTNERCENTRALSELLING_API StartResourceSnapshotJobRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StartResourceSnapshotJob"; }
28
29 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
30
31 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
40 inline const Aws::String& GetCatalog() const { return m_catalog; }
41 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
42 template <typename CatalogT = Aws::String>
43 void SetCatalog(CatalogT&& value) {
44 m_catalogHasBeenSet = true;
45 m_catalog = std::forward<CatalogT>(value);
46 }
47 template <typename CatalogT = Aws::String>
49 SetCatalog(std::forward<CatalogT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetResourceSnapshotJobIdentifier() const { return m_resourceSnapshotJobIdentifier; }
59 inline bool ResourceSnapshotJobIdentifierHasBeenSet() const { return m_resourceSnapshotJobIdentifierHasBeenSet; }
60 template <typename ResourceSnapshotJobIdentifierT = Aws::String>
61 void SetResourceSnapshotJobIdentifier(ResourceSnapshotJobIdentifierT&& value) {
62 m_resourceSnapshotJobIdentifierHasBeenSet = true;
63 m_resourceSnapshotJobIdentifier = std::forward<ResourceSnapshotJobIdentifierT>(value);
64 }
65 template <typename ResourceSnapshotJobIdentifierT = Aws::String>
66 StartResourceSnapshotJobRequest& WithResourceSnapshotJobIdentifier(ResourceSnapshotJobIdentifierT&& value) {
67 SetResourceSnapshotJobIdentifier(std::forward<ResourceSnapshotJobIdentifierT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_catalog;
73
74 Aws::String m_resourceSnapshotJobIdentifier;
75 bool m_catalogHasBeenSet = false;
76 bool m_resourceSnapshotJobIdentifierHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PartnerCentralSelling
81} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartResourceSnapshotJobRequest & WithResourceSnapshotJobIdentifier(ResourceSnapshotJobIdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API StartResourceSnapshotJobRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String