AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AsyncOperation.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/s3control/model/AsyncOperationName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3control/model/AsyncRequestParameters.h>
12#include <aws/s3control/model/AsyncResponseDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_S3CONTROL_API AsyncOperation();
39 AWS_S3CONTROL_API AsyncOperation(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_S3CONTROL_API AsyncOperation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
50 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
51 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
52 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
53 inline AsyncOperation& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
54 inline AsyncOperation& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
56
58
61 inline const AsyncOperationName& GetOperation() const{ return m_operation; }
62 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
63 inline void SetOperation(const AsyncOperationName& value) { m_operationHasBeenSet = true; m_operation = value; }
64 inline void SetOperation(AsyncOperationName&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
65 inline AsyncOperation& WithOperation(const AsyncOperationName& value) { SetOperation(value); return *this;}
66 inline AsyncOperation& WithOperation(AsyncOperationName&& value) { SetOperation(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetRequestTokenARN() const{ return m_requestTokenARN; }
74 inline bool RequestTokenARNHasBeenSet() const { return m_requestTokenARNHasBeenSet; }
75 inline void SetRequestTokenARN(const Aws::String& value) { m_requestTokenARNHasBeenSet = true; m_requestTokenARN = value; }
76 inline void SetRequestTokenARN(Aws::String&& value) { m_requestTokenARNHasBeenSet = true; m_requestTokenARN = std::move(value); }
77 inline void SetRequestTokenARN(const char* value) { m_requestTokenARNHasBeenSet = true; m_requestTokenARN.assign(value); }
78 inline AsyncOperation& WithRequestTokenARN(const Aws::String& value) { SetRequestTokenARN(value); return *this;}
79 inline AsyncOperation& WithRequestTokenARN(Aws::String&& value) { SetRequestTokenARN(std::move(value)); return *this;}
80 inline AsyncOperation& WithRequestTokenARN(const char* value) { SetRequestTokenARN(value); return *this;}
82
84
87 inline const AsyncRequestParameters& GetRequestParameters() const{ return m_requestParameters; }
88 inline bool RequestParametersHasBeenSet() const { return m_requestParametersHasBeenSet; }
89 inline void SetRequestParameters(const AsyncRequestParameters& value) { m_requestParametersHasBeenSet = true; m_requestParameters = value; }
90 inline void SetRequestParameters(AsyncRequestParameters&& value) { m_requestParametersHasBeenSet = true; m_requestParameters = std::move(value); }
92 inline AsyncOperation& WithRequestParameters(AsyncRequestParameters&& value) { SetRequestParameters(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetRequestStatus() const{ return m_requestStatus; }
100 inline bool RequestStatusHasBeenSet() const { return m_requestStatusHasBeenSet; }
101 inline void SetRequestStatus(const Aws::String& value) { m_requestStatusHasBeenSet = true; m_requestStatus = value; }
102 inline void SetRequestStatus(Aws::String&& value) { m_requestStatusHasBeenSet = true; m_requestStatus = std::move(value); }
103 inline void SetRequestStatus(const char* value) { m_requestStatusHasBeenSet = true; m_requestStatus.assign(value); }
104 inline AsyncOperation& WithRequestStatus(const Aws::String& value) { SetRequestStatus(value); return *this;}
105 inline AsyncOperation& WithRequestStatus(Aws::String&& value) { SetRequestStatus(std::move(value)); return *this;}
106 inline AsyncOperation& WithRequestStatus(const char* value) { SetRequestStatus(value); return *this;}
108
110
113 inline const AsyncResponseDetails& GetResponseDetails() const{ return m_responseDetails; }
114 inline bool ResponseDetailsHasBeenSet() const { return m_responseDetailsHasBeenSet; }
115 inline void SetResponseDetails(const AsyncResponseDetails& value) { m_responseDetailsHasBeenSet = true; m_responseDetails = value; }
116 inline void SetResponseDetails(AsyncResponseDetails&& value) { m_responseDetailsHasBeenSet = true; m_responseDetails = std::move(value); }
117 inline AsyncOperation& WithResponseDetails(const AsyncResponseDetails& value) { SetResponseDetails(value); return *this;}
118 inline AsyncOperation& WithResponseDetails(AsyncResponseDetails&& value) { SetResponseDetails(std::move(value)); return *this;}
120 private:
121
122 Aws::Utils::DateTime m_creationTime;
123 bool m_creationTimeHasBeenSet = false;
124
125 AsyncOperationName m_operation;
126 bool m_operationHasBeenSet = false;
127
128 Aws::String m_requestTokenARN;
129 bool m_requestTokenARNHasBeenSet = false;
130
131 AsyncRequestParameters m_requestParameters;
132 bool m_requestParametersHasBeenSet = false;
133
134 Aws::String m_requestStatus;
135 bool m_requestStatusHasBeenSet = false;
136
137 AsyncResponseDetails m_responseDetails;
138 bool m_responseDetailsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace S3Control
143} // namespace Aws
AsyncOperation & WithRequestTokenARN(const Aws::String &value)
AWS_S3CONTROL_API AsyncOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AsyncOperation & WithRequestParameters(AsyncRequestParameters &&value)
void SetRequestTokenARN(const char *value)
AWS_S3CONTROL_API AsyncOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
AsyncOperation & WithRequestParameters(const AsyncRequestParameters &value)
void SetRequestTokenARN(const Aws::String &value)
AsyncOperation & WithRequestStatus(Aws::String &&value)
void SetRequestParameters(AsyncRequestParameters &&value)
AsyncOperation & WithOperation(AsyncOperationName &&value)
void SetOperation(const AsyncOperationName &value)
void SetOperation(AsyncOperationName &&value)
void SetRequestStatus(const Aws::String &value)
void SetResponseDetails(AsyncResponseDetails &&value)
void SetResponseDetails(const AsyncResponseDetails &value)
const Aws::String & GetRequestStatus() const
const Aws::Utils::DateTime & GetCreationTime() const
AsyncOperation & WithCreationTime(Aws::Utils::DateTime &&value)
AsyncOperation & WithResponseDetails(const AsyncResponseDetails &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetRequestStatus(const char *value)
AsyncOperation & WithRequestTokenARN(Aws::String &&value)
const Aws::String & GetRequestTokenARN() const
AsyncOperation & WithOperation(const AsyncOperationName &value)
void SetRequestParameters(const AsyncRequestParameters &value)
AsyncOperation & WithRequestTokenARN(const char *value)
void SetRequestTokenARN(Aws::String &&value)
const AsyncOperationName & GetOperation() const
AsyncOperation & WithResponseDetails(AsyncResponseDetails &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetRequestStatus(Aws::String &&value)
AsyncOperation & WithRequestStatus(const char *value)
AsyncOperation & WithCreationTime(const Aws::Utils::DateTime &value)
const AsyncRequestParameters & GetRequestParameters() const
AsyncOperation & WithRequestStatus(const Aws::String &value)
const AsyncResponseDetails & GetResponseDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String