AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateApiDestinationResult.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/ApiDestinationState.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 EventBridge
26{
27namespace Model
28{
30 {
31 public:
32 AWS_EVENTBRIDGE_API CreateApiDestinationResult();
35
36
38
41 inline const Aws::String& GetApiDestinationArn() const{ return m_apiDestinationArn; }
42 inline void SetApiDestinationArn(const Aws::String& value) { m_apiDestinationArn = value; }
43 inline void SetApiDestinationArn(Aws::String&& value) { m_apiDestinationArn = std::move(value); }
44 inline void SetApiDestinationArn(const char* value) { m_apiDestinationArn.assign(value); }
46 inline CreateApiDestinationResult& WithApiDestinationArn(Aws::String&& value) { SetApiDestinationArn(std::move(value)); return *this;}
47 inline CreateApiDestinationResult& WithApiDestinationArn(const char* value) { SetApiDestinationArn(value); return *this;}
49
51
54 inline const ApiDestinationState& GetApiDestinationState() const{ return m_apiDestinationState; }
55 inline void SetApiDestinationState(const ApiDestinationState& value) { m_apiDestinationState = value; }
56 inline void SetApiDestinationState(ApiDestinationState&& value) { m_apiDestinationState = std::move(value); }
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); }
69 inline CreateApiDestinationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
78 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
79 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 inline CreateApiDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline CreateApiDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline CreateApiDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_apiDestinationArn;
97
98 ApiDestinationState m_apiDestinationState;
99
100 Aws::Utils::DateTime m_creationTime;
101
102 Aws::Utils::DateTime m_lastModifiedTime;
103
104 Aws::String m_requestId;
105 };
106
107} // namespace Model
108} // namespace EventBridge
109} // namespace Aws
AWS_EVENTBRIDGE_API CreateApiDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApiDestinationResult & WithApiDestinationState(const ApiDestinationState &value)
CreateApiDestinationResult & WithApiDestinationArn(Aws::String &&value)
CreateApiDestinationResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetApiDestinationState(const ApiDestinationState &value)
CreateApiDestinationResult & WithRequestId(Aws::String &&value)
AWS_EVENTBRIDGE_API CreateApiDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApiDestinationResult & WithApiDestinationState(ApiDestinationState &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
CreateApiDestinationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
CreateApiDestinationResult & WithCreationTime(Aws::Utils::DateTime &&value)
CreateApiDestinationResult & WithRequestId(const char *value)
CreateApiDestinationResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
CreateApiDestinationResult & WithRequestId(const Aws::String &value)
CreateApiDestinationResult & WithApiDestinationArn(const Aws::String &value)
CreateApiDestinationResult & WithApiDestinationArn(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue