7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/RequestedPipeState.h>
10#include <aws/pipes/model/PipeState.h>
11#include <aws/core/utils/DateTime.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
45 template<
typename ArnT = Aws::String>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
83 template<
typename CreationTimeT = Aws::Utils::DateTime>
84 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
85 template<
typename CreationTimeT = Aws::Utils::DateTime>
96 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
97 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
98 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
105 template<
typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
107 template<
typename RequestIdT = Aws::String>
113 bool m_arnHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
119 bool m_desiredStateHasBeenSet =
false;
122 bool m_currentStateHasBeenSet =
false;
125 bool m_creationTimeHasBeenSet =
false;
128 bool m_lastModifiedTimeHasBeenSet =
false;
131 bool m_requestIdHasBeenSet =
false;
StartPipeResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
AWS_PIPES_API StartPipeResult()=default
void SetDesiredState(RequestedPipeState value)
PipeState GetCurrentState() const
void SetArn(ArnT &&value)
StartPipeResult & WithArn(ArnT &&value)
void SetName(NameT &&value)
const Aws::String & GetArn() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
RequestedPipeState GetDesiredState() const
StartPipeResult & WithRequestId(RequestIdT &&value)
StartPipeResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCurrentState(PipeState value)
void SetRequestId(RequestIdT &&value)
AWS_PIPES_API StartPipeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartPipeResult & WithCurrentState(PipeState value)
AWS_PIPES_API StartPipeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartPipeResult & WithName(NameT &&value)
const Aws::String & GetName() const
StartPipeResult & WithDesiredState(RequestedPipeState value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue