AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConnectionResult.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ConnectionState.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CloudWatchEvents
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHEVENTS_API CreateConnectionResult();
35
36
38
41 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
42 inline void SetConnectionArn(const Aws::String& value) { m_connectionArn = value; }
43 inline void SetConnectionArn(Aws::String&& value) { m_connectionArn = std::move(value); }
44 inline void SetConnectionArn(const char* value) { m_connectionArn.assign(value); }
45 inline CreateConnectionResult& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
46 inline CreateConnectionResult& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
47 inline CreateConnectionResult& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
49
51
54 inline const ConnectionState& GetConnectionState() const{ return m_connectionState; }
55 inline void SetConnectionState(const ConnectionState& value) { m_connectionState = value; }
56 inline void SetConnectionState(ConnectionState&& value) { m_connectionState = std::move(value); }
58 inline CreateConnectionResult& WithConnectionState(ConnectionState&& value) { SetConnectionState(std::move(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
66 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
67 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
68 inline CreateConnectionResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
69 inline CreateConnectionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
77 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
78 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
80 inline CreateConnectionResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline CreateConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline CreateConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline CreateConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::String m_connectionArn;
96
97 ConnectionState m_connectionState;
98
99 Aws::Utils::DateTime m_creationTime;
100
101 Aws::Utils::DateTime m_lastModifiedTime;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace CloudWatchEvents
108} // namespace Aws
CreateConnectionResult & WithConnectionArn(const Aws::String &value)
CreateConnectionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
CreateConnectionResult & WithRequestId(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API CreateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectionResult & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_CLOUDWATCHEVENTS_API CreateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectionResult & WithConnectionArn(Aws::String &&value)
CreateConnectionResult & WithConnectionState(ConnectionState &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
CreateConnectionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
CreateConnectionResult & WithConnectionState(const ConnectionState &value)
CreateConnectionResult & WithConnectionArn(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
CreateConnectionResult & WithRequestId(Aws::String &&value)
CreateConnectionResult & WithRequestId(const char *value)
CreateConnectionResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue