AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OpenSearchCollection.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/model/OpenSearchResourceStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudWatchLogs
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_CLOUDWATCHLOGS_API OpenSearchCollection() = default;
42 AWS_CLOUDWATCHLOGS_API OpenSearchCollection(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLOUDWATCHLOGS_API OpenSearchCollection& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetCollectionEndpoint() const { return m_collectionEndpoint; }
52 inline bool CollectionEndpointHasBeenSet() const { return m_collectionEndpointHasBeenSet; }
53 template<typename CollectionEndpointT = Aws::String>
54 void SetCollectionEndpoint(CollectionEndpointT&& value) { m_collectionEndpointHasBeenSet = true; m_collectionEndpoint = std::forward<CollectionEndpointT>(value); }
55 template<typename CollectionEndpointT = Aws::String>
56 OpenSearchCollection& WithCollectionEndpoint(CollectionEndpointT&& value) { SetCollectionEndpoint(std::forward<CollectionEndpointT>(value)); return *this;}
58
60
63 inline const Aws::String& GetCollectionArn() const { return m_collectionArn; }
64 inline bool CollectionArnHasBeenSet() const { return m_collectionArnHasBeenSet; }
65 template<typename CollectionArnT = Aws::String>
66 void SetCollectionArn(CollectionArnT&& value) { m_collectionArnHasBeenSet = true; m_collectionArn = std::forward<CollectionArnT>(value); }
67 template<typename CollectionArnT = Aws::String>
68 OpenSearchCollection& WithCollectionArn(CollectionArnT&& value) { SetCollectionArn(std::forward<CollectionArnT>(value)); return *this;}
70
72
76 inline const OpenSearchResourceStatus& GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 template<typename StatusT = OpenSearchResourceStatus>
79 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
80 template<typename StatusT = OpenSearchResourceStatus>
81 OpenSearchCollection& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
83 private:
84
85 Aws::String m_collectionEndpoint;
86 bool m_collectionEndpointHasBeenSet = false;
87
88 Aws::String m_collectionArn;
89 bool m_collectionArnHasBeenSet = false;
90
92 bool m_statusHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CloudWatchLogs
97} // namespace Aws
void SetCollectionEndpoint(CollectionEndpointT &&value)
AWS_CLOUDWATCHLOGS_API OpenSearchCollection(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API OpenSearchCollection()=default
AWS_CLOUDWATCHLOGS_API OpenSearchCollection & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenSearchCollection & WithStatus(StatusT &&value)
const OpenSearchResourceStatus & GetStatus() const
OpenSearchCollection & WithCollectionEndpoint(CollectionEndpointT &&value)
OpenSearchCollection & WithCollectionArn(CollectionArnT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue