AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
DatasetIntegrationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ObservabilityAdmin {
21namespace Model {
22
31 public:
32 AWS_OBSERVABILITYADMIN_API DatasetIntegrationSummary() = default;
33 AWS_OBSERVABILITYADMIN_API DatasetIntegrationSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OBSERVABILITYADMIN_API DatasetIntegrationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
61 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
62 template <typename RoleArnT = Aws::String>
63 void SetRoleArn(RoleArnT&& value) {
64 m_roleArnHasBeenSet = true;
65 m_roleArn = std::forward<RoleArnT>(value);
66 }
67 template <typename RoleArnT = Aws::String>
69 SetRoleArn(std::forward<RoleArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
79 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
80 template <typename CreatedAtT = Aws::Utils::DateTime>
81 void SetCreatedAt(CreatedAtT&& value) {
82 m_createdAtHasBeenSet = true;
83 m_createdAt = std::forward<CreatedAtT>(value);
84 }
85 template <typename CreatedAtT = Aws::Utils::DateTime>
87 SetCreatedAt(std::forward<CreatedAtT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
97 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
98 template <typename UpdatedAtT = Aws::Utils::DateTime>
99 void SetUpdatedAt(UpdatedAtT&& value) {
100 m_updatedAtHasBeenSet = true;
101 m_updatedAt = std::forward<UpdatedAtT>(value);
102 }
103 template <typename UpdatedAtT = Aws::Utils::DateTime>
105 SetUpdatedAt(std::forward<UpdatedAtT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_arn;
111
112 Aws::String m_roleArn;
113
114 Aws::Utils::DateTime m_createdAt{};
115
116 Aws::Utils::DateTime m_updatedAt{};
117 bool m_arnHasBeenSet = false;
118 bool m_roleArnHasBeenSet = false;
119 bool m_createdAtHasBeenSet = false;
120 bool m_updatedAtHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace ObservabilityAdmin
125} // namespace Aws
DatasetIntegrationSummary & WithCreatedAt(CreatedAtT &&value)
DatasetIntegrationSummary & WithRoleArn(RoleArnT &&value)
AWS_OBSERVABILITYADMIN_API DatasetIntegrationSummary()=default
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OBSERVABILITYADMIN_API DatasetIntegrationSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetIntegrationSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_OBSERVABILITYADMIN_API DatasetIntegrationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue