AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline DashboardVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline DashboardVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline DashboardVersionSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
61 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
62 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
63 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
64 inline DashboardVersionSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
65 inline DashboardVersionSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
67
69
72 inline long long GetVersionNumber() const{ return m_versionNumber; }
73 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
74 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
75 inline DashboardVersionSummary& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
77
79
82 inline const ResourceStatus& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
86 inline DashboardVersionSummary& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
87 inline DashboardVersionSummary& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetSourceEntityArn() const{ return m_sourceEntityArn; }
95 inline bool SourceEntityArnHasBeenSet() const { return m_sourceEntityArnHasBeenSet; }
96 inline void SetSourceEntityArn(const Aws::String& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = value; }
97 inline void SetSourceEntityArn(Aws::String&& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = std::move(value); }
98 inline void SetSourceEntityArn(const char* value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn.assign(value); }
99 inline DashboardVersionSummary& WithSourceEntityArn(const Aws::String& value) { SetSourceEntityArn(value); return *this;}
100 inline DashboardVersionSummary& WithSourceEntityArn(Aws::String&& value) { SetSourceEntityArn(std::move(value)); return *this;}
101 inline DashboardVersionSummary& WithSourceEntityArn(const char* value) { SetSourceEntityArn(value); return *this;}
103
105
108 inline const Aws::String& GetDescription() const{ return m_description; }
109 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
110 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
111 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
112 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
113 inline DashboardVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 inline DashboardVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 inline DashboardVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
117 private:
118
119 Aws::String m_arn;
120 bool m_arnHasBeenSet = false;
121
122 Aws::Utils::DateTime m_createdTime;
123 bool m_createdTimeHasBeenSet = false;
124
125 long long m_versionNumber;
126 bool m_versionNumberHasBeenSet = false;
127
128 ResourceStatus m_status;
129 bool m_statusHasBeenSet = false;
130
131 Aws::String m_sourceEntityArn;
132 bool m_sourceEntityArnHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
AWS_QUICKSIGHT_API DashboardVersionSummary(Aws::Utils::Json::JsonView jsonValue)
DashboardVersionSummary & WithDescription(Aws::String &&value)
DashboardVersionSummary & WithSourceEntityArn(const char *value)
DashboardVersionSummary & WithStatus(ResourceStatus &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DashboardVersionSummary & WithSourceEntityArn(Aws::String &&value)
DashboardVersionSummary & WithVersionNumber(long long value)
DashboardVersionSummary & WithStatus(const ResourceStatus &value)
DashboardVersionSummary & WithArn(const Aws::String &value)
DashboardVersionSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
DashboardVersionSummary & WithArn(Aws::String &&value)
DashboardVersionSummary & WithDescription(const char *value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
DashboardVersionSummary & WithSourceEntityArn(const Aws::String &value)
DashboardVersionSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_QUICKSIGHT_API DashboardVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DashboardVersionSummary & WithDescription(const Aws::String &value)
DashboardVersionSummary & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue