7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/Pipes_EXPORTS.h>
10#include <aws/pipes/model/PipeState.h>
11#include <aws/pipes/model/RequestedPipeState.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ArnT = Aws::String>
39 m_arnHasBeenSet =
true;
40 m_arn = std::forward<ArnT>(value);
42 template <
typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
54 template <
typename NameT = Aws::String>
56 m_nameHasBeenSet =
true;
57 m_name = std::forward<NameT>(value);
59 template <
typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
72 m_desiredStateHasBeenSet =
true;
73 m_desiredState = value;
87 m_currentStateHasBeenSet =
true;
88 m_currentState = value;
101 template <
typename CreationTimeT = Aws::Utils::DateTime>
103 m_creationTimeHasBeenSet =
true;
104 m_creationTime = std::forward<CreationTimeT>(value);
106 template <
typename CreationTimeT = Aws::Utils::DateTime>
120 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
122 m_lastModifiedTimeHasBeenSet =
true;
123 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
125 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
135 template <
typename RequestIdT = Aws::String>
137 m_requestIdHasBeenSet =
true;
138 m_requestId = std::forward<RequestIdT>(value);
140 template <
typename RequestIdT = Aws::String>
160 bool m_arnHasBeenSet =
false;
161 bool m_nameHasBeenSet =
false;
162 bool m_desiredStateHasBeenSet =
false;
163 bool m_currentStateHasBeenSet =
false;
164 bool m_creationTimeHasBeenSet =
false;
165 bool m_lastModifiedTimeHasBeenSet =
false;
166 bool m_requestIdHasBeenSet =
false;
AWS_PIPES_API CreatePipeResult()=default
const Aws::Utils::DateTime & GetCreationTime() const
AWS_PIPES_API CreatePipeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCurrentState(PipeState value)
RequestedPipeState GetDesiredState() const
CreatePipeResult & WithCreationTime(CreationTimeT &&value)
CreatePipeResult & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetRequestId() const
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
CreatePipeResult & WithRequestId(RequestIdT &&value)
CreatePipeResult & WithCurrentState(PipeState value)
CreatePipeResult & WithDesiredState(RequestedPipeState value)
void SetName(NameT &&value)
PipeState GetCurrentState() const
AWS_PIPES_API CreatePipeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetArn(ArnT &&value)
CreatePipeResult & WithName(NameT &&value)
const Aws::String & GetArn() const
CreatePipeResult & WithArn(ArnT &&value)
void SetRequestId(RequestIdT &&value)
void SetDesiredState(RequestedPipeState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue