AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartPipeResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Pipes
27{
28namespace Model
29{
31 {
32 public:
33 AWS_PIPES_API StartPipeResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
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>
46 StartPipeResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
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>
57 StartPipeResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline RequestedPipeState GetDesiredState() const { return m_desiredState; }
65 inline void SetDesiredState(RequestedPipeState value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
68
70
73 inline PipeState GetCurrentState() const { return m_currentState; }
74 inline void SetCurrentState(PipeState value) { m_currentStateHasBeenSet = true; m_currentState = value; }
75 inline StartPipeResult& WithCurrentState(PipeState value) { SetCurrentState(value); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
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>
86 StartPipeResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
88
90
95 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
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>
99 StartPipeResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
108 StartPipeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
110 private:
111
112 Aws::String m_arn;
113 bool m_arnHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
119 bool m_desiredStateHasBeenSet = false;
120
121 PipeState m_currentState{PipeState::NOT_SET};
122 bool m_currentStateHasBeenSet = false;
123
124 Aws::Utils::DateTime m_creationTime{};
125 bool m_creationTimeHasBeenSet = false;
126
127 Aws::Utils::DateTime m_lastModifiedTime{};
128 bool m_lastModifiedTimeHasBeenSet = false;
129
130 Aws::String m_requestId;
131 bool m_requestIdHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Pipes
136} // namespace Aws
StartPipeResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
AWS_PIPES_API StartPipeResult()=default
void SetDesiredState(RequestedPipeState value)
StartPipeResult & WithArn(ArnT &&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