AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePipeResult.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 UpdatePipeResult();
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 UpdatePipeResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline UpdatePipeResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline UpdatePipeResult& 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 UpdatePipeResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline UpdatePipeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline UpdatePipeResult& 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 UpdatePipeResult& WithDesiredState(const RequestedPipeState& value) { SetDesiredState(value); return *this;}
72 inline UpdatePipeResult& 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 UpdatePipeResult& WithCurrentState(const PipeState& value) { SetCurrentState(value); return *this;}
83 inline UpdatePipeResult& 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 UpdatePipeResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 inline UpdatePipeResult& 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 UpdatePipeResult& 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 UpdatePipeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline UpdatePipeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline UpdatePipeResult& 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
UpdatePipeResult & WithDesiredState(const RequestedPipeState &value)
UpdatePipeResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
UpdatePipeResult & WithArn(const Aws::String &value)
AWS_PIPES_API UpdatePipeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePipeResult & WithName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
UpdatePipeResult & WithDesiredState(RequestedPipeState &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetRequestId(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
const Aws::String & GetRequestId() const
AWS_PIPES_API UpdatePipeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const PipeState & GetCurrentState() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
UpdatePipeResult & WithRequestId(const char *value)
UpdatePipeResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdatePipeResult & WithArn(const char *value)
UpdatePipeResult & WithArn(Aws::String &&value)
void SetCurrentState(const PipeState &value)
const RequestedPipeState & GetDesiredState() const
void SetCreationTime(Aws::Utils::DateTime &&value)
UpdatePipeResult & WithRequestId(const Aws::String &value)
void SetDesiredState(const RequestedPipeState &value)
void SetArn(Aws::String &&value)
UpdatePipeResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetDesiredState(RequestedPipeState &&value)
UpdatePipeResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCurrentState(PipeState &&value)
UpdatePipeResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
UpdatePipeResult & WithName(const Aws::String &value)
void SetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdatePipeResult & WithName(const char *value)
UpdatePipeResult & WithCurrentState(const PipeState &value)
void SetName(Aws::String &&value)
UpdatePipeResult & WithCurrentState(PipeState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue