AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
StartProfileUpdateTaskRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-account/PartnerCentralAccountRequest.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/TaskDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PartnerCentralAccount {
17namespace Model {
18
22 public:
23 AWS_PARTNERCENTRALACCOUNT_API StartProfileUpdateTaskRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartProfileUpdateTask"; }
30
31 AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override;
32
33 AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetCatalog() const { return m_catalog; }
40 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
41 template <typename CatalogT = Aws::String>
42 void SetCatalog(CatalogT&& value) {
43 m_catalogHasBeenSet = true;
44 m_catalog = std::forward<CatalogT>(value);
45 }
46 template <typename CatalogT = Aws::String>
48 SetCatalog(std::forward<CatalogT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIdentifier() const { return m_identifier; }
58 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
59 template <typename IdentifierT = Aws::String>
60 void SetIdentifier(IdentifierT&& value) {
61 m_identifierHasBeenSet = true;
62 m_identifier = std::forward<IdentifierT>(value);
63 }
64 template <typename IdentifierT = Aws::String>
66 SetIdentifier(std::forward<IdentifierT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetClientToken() const { return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 template <typename ClientTokenT = Aws::String>
79 void SetClientToken(ClientTokenT&& value) {
80 m_clientTokenHasBeenSet = true;
81 m_clientToken = std::forward<ClientTokenT>(value);
82 }
83 template <typename ClientTokenT = Aws::String>
85 SetClientToken(std::forward<ClientTokenT>(value));
86 return *this;
87 }
89
91
94 inline const TaskDetails& GetTaskDetails() const { return m_taskDetails; }
95 inline bool TaskDetailsHasBeenSet() const { return m_taskDetailsHasBeenSet; }
96 template <typename TaskDetailsT = TaskDetails>
97 void SetTaskDetails(TaskDetailsT&& value) {
98 m_taskDetailsHasBeenSet = true;
99 m_taskDetails = std::forward<TaskDetailsT>(value);
100 }
101 template <typename TaskDetailsT = TaskDetails>
103 SetTaskDetails(std::forward<TaskDetailsT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_catalog;
109
110 Aws::String m_identifier;
111
113
114 TaskDetails m_taskDetails;
115 bool m_catalogHasBeenSet = false;
116 bool m_identifierHasBeenSet = false;
117 bool m_clientTokenHasBeenSet = true;
118 bool m_taskDetailsHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace PartnerCentralAccount
123} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartProfileUpdateTaskRequest & WithClientToken(ClientTokenT &&value)
AWS_PARTNERCENTRALACCOUNT_API StartProfileUpdateTaskRequest()=default
StartProfileUpdateTaskRequest & WithIdentifier(IdentifierT &&value)
StartProfileUpdateTaskRequest & WithTaskDetails(TaskDetailsT &&value)
AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String