AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DashboardDetail.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/DashboardType.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 CloudTrail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDTRAIL_API DashboardDetail() = default;
37 AWS_CLOUDTRAIL_API DashboardDetail(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDashboardArn() const { return m_dashboardArn; }
47 inline bool DashboardArnHasBeenSet() const { return m_dashboardArnHasBeenSet; }
48 template<typename DashboardArnT = Aws::String>
49 void SetDashboardArn(DashboardArnT&& value) { m_dashboardArnHasBeenSet = true; m_dashboardArn = std::forward<DashboardArnT>(value); }
50 template<typename DashboardArnT = Aws::String>
51 DashboardDetail& WithDashboardArn(DashboardArnT&& value) { SetDashboardArn(std::forward<DashboardArnT>(value)); return *this;}
53
55
58 inline DashboardType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(DashboardType value) { m_typeHasBeenSet = true; m_type = value; }
61 inline DashboardDetail& WithType(DashboardType value) { SetType(value); return *this;}
63 private:
64
65 Aws::String m_dashboardArn;
66 bool m_dashboardArnHasBeenSet = false;
67
69 bool m_typeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CloudTrail
74} // namespace Aws
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDTRAIL_API DashboardDetail()=default
DashboardDetail & WithType(DashboardType value)
DashboardDetail & WithDashboardArn(DashboardArnT &&value)
const Aws::String & GetDashboardArn() const
void SetDashboardArn(DashboardArnT &&value)
AWS_CLOUDTRAIL_API DashboardDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API DashboardDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue