AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApiDestinationResult.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/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 CloudWatchEvents
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHEVENTS_API UpdateApiDestinationResult();
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 UpdateApiDestinationResult& WithApiDestinationArn(Aws::String&& value) { SetApiDestinationArn(std::move(value)); return *this;}
47 inline UpdateApiDestinationResult& 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 UpdateApiDestinationResult& 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); }
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 UpdateApiDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline UpdateApiDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline UpdateApiDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::String m_apiDestinationArn;
96
97 ApiDestinationState m_apiDestinationState;
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
AWS_CLOUDWATCHEVENTS_API UpdateApiDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApiDestinationResult & WithRequestId(const Aws::String &value)
UpdateApiDestinationResult & WithApiDestinationState(const ApiDestinationState &value)
UpdateApiDestinationResult & WithCreationTime(const Aws::Utils::DateTime &value)
UpdateApiDestinationResult & WithApiDestinationArn(Aws::String &&value)
UpdateApiDestinationResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateApiDestinationResult & WithApiDestinationArn(const Aws::String &value)
UpdateApiDestinationResult & WithApiDestinationState(ApiDestinationState &&value)
UpdateApiDestinationResult & WithRequestId(const char *value)
AWS_CLOUDWATCHEVENTS_API UpdateApiDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApiDestinationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
UpdateApiDestinationResult & WithApiDestinationArn(const char *value)
UpdateApiDestinationResult & WithRequestId(Aws::String &&value)
UpdateApiDestinationResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue