AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetApiDestinationArn() const { return m_apiDestinationArn; }
42 template<typename ApiDestinationArnT = Aws::String>
43 void SetApiDestinationArn(ApiDestinationArnT&& value) { m_apiDestinationArnHasBeenSet = true; m_apiDestinationArn = std::forward<ApiDestinationArnT>(value); }
44 template<typename ApiDestinationArnT = Aws::String>
45 CreateApiDestinationResult& WithApiDestinationArn(ApiDestinationArnT&& value) { SetApiDestinationArn(std::forward<ApiDestinationArnT>(value)); return *this;}
47
49
52 inline ApiDestinationState GetApiDestinationState() const { return m_apiDestinationState; }
53 inline void SetApiDestinationState(ApiDestinationState value) { m_apiDestinationStateHasBeenSet = true; m_apiDestinationState = value; }
56
58
61 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
62 template<typename CreationTimeT = Aws::Utils::DateTime>
63 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
64 template<typename CreationTimeT = Aws::Utils::DateTime>
65 CreateApiDestinationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
74 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
75 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
76 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
77 CreateApiDestinationResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 CreateApiDestinationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_apiDestinationArn;
91 bool m_apiDestinationArnHasBeenSet = false;
92
94 bool m_apiDestinationStateHasBeenSet = false;
95
96 Aws::Utils::DateTime m_creationTime{};
97 bool m_creationTimeHasBeenSet = false;
98
99 Aws::Utils::DateTime m_lastModifiedTime{};
100 bool m_lastModifiedTimeHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace EventBridge
108} // namespace Aws
CreateApiDestinationResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API CreateApiDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApiDestinationResult & WithApiDestinationState(ApiDestinationState value)
AWS_EVENTBRIDGE_API CreateApiDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApiDestinationResult & WithCreationTime(CreationTimeT &&value)
AWS_EVENTBRIDGE_API CreateApiDestinationResult()=default
CreateApiDestinationResult & WithApiDestinationArn(ApiDestinationArnT &&value)
CreateApiDestinationResult & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue