AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopPipeResult.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 StopPipeResult();
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline StopPipeResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline StopPipeResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline StopPipeResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline void SetName(const Aws::String& value) { m_name = value; }
57 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 inline void SetName(const char* value) { m_name.assign(value); }
59 inline StopPipeResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline StopPipeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline StopPipeResult& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const RequestedPipeState& GetDesiredState() const{ return m_desiredState; }
69 inline void SetDesiredState(const RequestedPipeState& value) { m_desiredState = value; }
70 inline void SetDesiredState(RequestedPipeState&& value) { m_desiredState = std::move(value); }
71 inline StopPipeResult& WithDesiredState(const RequestedPipeState& value) { SetDesiredState(value); return *this;}
72 inline StopPipeResult& WithDesiredState(RequestedPipeState&& value) { SetDesiredState(std::move(value)); return *this;}
74
76
79 inline const PipeState& GetCurrentState() const{ return m_currentState; }
80 inline void SetCurrentState(const PipeState& value) { m_currentState = value; }
81 inline void SetCurrentState(PipeState&& value) { m_currentState = std::move(value); }
82 inline StopPipeResult& WithCurrentState(const PipeState& value) { SetCurrentState(value); return *this;}
83 inline StopPipeResult& WithCurrentState(PipeState&& value) { SetCurrentState(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
91 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
92 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
93 inline StopPipeResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 inline StopPipeResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
96
98
103 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
104 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
105 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
107 inline StopPipeResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
115 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline StopPipeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline StopPipeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline StopPipeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::String m_arn;
123
124 Aws::String m_name;
125
126 RequestedPipeState m_desiredState;
127
128 PipeState m_currentState;
129
130 Aws::Utils::DateTime m_creationTime;
131
132 Aws::Utils::DateTime m_lastModifiedTime;
133
134 Aws::String m_requestId;
135 };
136
137} // namespace Model
138} // namespace Pipes
139} // namespace Aws
StopPipeResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
StopPipeResult & WithName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
const RequestedPipeState & GetDesiredState() const
StopPipeResult & WithCurrentState(PipeState &&value)
StopPipeResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
StopPipeResult & WithDesiredState(RequestedPipeState &&value)
void SetDesiredState(RequestedPipeState &&value)
StopPipeResult & WithRequestId(const Aws::String &value)
void SetName(const char *value)
void SetRequestId(const Aws::String &value)
void SetCurrentState(const PipeState &value)
StopPipeResult & WithCurrentState(const PipeState &value)
StopPipeResult & WithArn(const Aws::String &value)
const PipeState & GetCurrentState() const
StopPipeResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetRequestId(const char *value)
StopPipeResult & WithArn(Aws::String &&value)
StopPipeResult & WithArn(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
StopPipeResult & WithName(const char *value)
StopPipeResult & WithRequestId(Aws::String &&value)
void SetName(Aws::String &&value)
void SetArn(const char *value)
void SetCurrentState(PipeState &&value)
StopPipeResult & WithDesiredState(const RequestedPipeState &value)
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
StopPipeResult & WithName(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetArn() const
AWS_PIPES_API StopPipeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDesiredState(const RequestedPipeState &value)
StopPipeResult & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_PIPES_API StopPipeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopPipeResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue