AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DashboardVersionSummary.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/quicksight/model/ResourceStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API DashboardVersionSummary() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 DashboardVersionSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
59 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
60 template<typename CreatedTimeT = Aws::Utils::DateTime>
61 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
62 template<typename CreatedTimeT = Aws::Utils::DateTime>
63 DashboardVersionSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
65
67
70 inline long long GetVersionNumber() const { return m_versionNumber; }
71 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
72 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
73 inline DashboardVersionSummary& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
75
77
80 inline ResourceStatus GetStatus() const { return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(ResourceStatus value) { m_statusHasBeenSet = true; m_status = value; }
83 inline DashboardVersionSummary& WithStatus(ResourceStatus value) { SetStatus(value); return *this;}
85
87
90 inline const Aws::String& GetSourceEntityArn() const { return m_sourceEntityArn; }
91 inline bool SourceEntityArnHasBeenSet() const { return m_sourceEntityArnHasBeenSet; }
92 template<typename SourceEntityArnT = Aws::String>
93 void SetSourceEntityArn(SourceEntityArnT&& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = std::forward<SourceEntityArnT>(value); }
94 template<typename SourceEntityArnT = Aws::String>
95 DashboardVersionSummary& WithSourceEntityArn(SourceEntityArnT&& value) { SetSourceEntityArn(std::forward<SourceEntityArnT>(value)); return *this;}
97
99
102 inline const Aws::String& GetDescription() const { return m_description; }
103 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 template<typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
106 template<typename DescriptionT = Aws::String>
107 DashboardVersionSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
109 private:
110
111 Aws::String m_arn;
112 bool m_arnHasBeenSet = false;
113
114 Aws::Utils::DateTime m_createdTime{};
115 bool m_createdTimeHasBeenSet = false;
116
117 long long m_versionNumber{0};
118 bool m_versionNumberHasBeenSet = false;
119
121 bool m_statusHasBeenSet = false;
122
123 Aws::String m_sourceEntityArn;
124 bool m_sourceEntityArnHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace QuickSight
132} // namespace Aws
AWS_QUICKSIGHT_API DashboardVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DashboardVersionSummary & WithSourceEntityArn(SourceEntityArnT &&value)
DashboardVersionSummary & WithVersionNumber(long long value)
DashboardVersionSummary & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
DashboardVersionSummary & WithDescription(DescriptionT &&value)
DashboardVersionSummary & WithCreatedTime(CreatedTimeT &&value)
DashboardVersionSummary & WithStatus(ResourceStatus value)
AWS_QUICKSIGHT_API DashboardVersionSummary()=default
AWS_QUICKSIGHT_API DashboardVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue