AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
EventDataStore.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudTrail {
20namespace Model {
21
32 public:
33 AWS_CLOUDTRAIL_API EventDataStore() = default;
34 AWS_CLOUDTRAIL_API EventDataStore(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLOUDTRAIL_API EventDataStore& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetEventDataStoreArn() const { return m_eventDataStoreArn; }
43 inline bool EventDataStoreArnHasBeenSet() const { return m_eventDataStoreArnHasBeenSet; }
44 template <typename EventDataStoreArnT = Aws::String>
45 void SetEventDataStoreArn(EventDataStoreArnT&& value) {
46 m_eventDataStoreArnHasBeenSet = true;
47 m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value);
48 }
49 template <typename EventDataStoreArnT = Aws::String>
50 EventDataStore& WithEventDataStoreArn(EventDataStoreArnT&& value) {
51 SetEventDataStoreArn(std::forward<EventDataStoreArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
68 EventDataStore& WithName(NameT&& value) {
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_eventDataStoreArn;
75 bool m_eventDataStoreArnHasBeenSet = false;
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CloudTrail
83} // namespace Aws
AWS_CLOUDTRAIL_API EventDataStore(Aws::Utils::Json::JsonView jsonValue)
EventDataStore & WithName(NameT &&value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEventDataStoreArn() const
EventDataStore & WithEventDataStoreArn(EventDataStoreArnT &&value)
const Aws::String & GetName() const
AWS_CLOUDTRAIL_API EventDataStore & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API EventDataStore()=default
void SetEventDataStoreArn(EventDataStoreArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue