AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisSummary.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ResourceStatus.h>
10#include <aws/core/utils/DateTime.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
35 {
36 public:
37 AWS_QUICKSIGHT_API AnalysisSummary();
38 AWS_QUICKSIGHT_API AnalysisSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline AnalysisSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline AnalysisSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline AnalysisSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
62 inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
63 inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
64 inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
65 inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
66 inline AnalysisSummary& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
67 inline AnalysisSummary& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
68 inline AnalysisSummary& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
70
72
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
81 inline AnalysisSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline AnalysisSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline AnalysisSummary& WithName(const char* value) { SetName(value); return *this;}
85
87
90 inline const ResourceStatus& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
94 inline AnalysisSummary& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
95 inline AnalysisSummary& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
103 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
104 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
105 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
106 inline AnalysisSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
107 inline AnalysisSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
115 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
116 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
117 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
118 inline AnalysisSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
119 inline AnalysisSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_arn;
124 bool m_arnHasBeenSet = false;
125
126 Aws::String m_analysisId;
127 bool m_analysisIdHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 ResourceStatus m_status;
133 bool m_statusHasBeenSet = false;
134
135 Aws::Utils::DateTime m_createdTime;
136 bool m_createdTimeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_lastUpdatedTime;
139 bool m_lastUpdatedTimeHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace QuickSight
144} // namespace Aws
AnalysisSummary & WithAnalysisId(const Aws::String &value)
AnalysisSummary & WithName(Aws::String &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
AnalysisSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
AnalysisSummary & WithArn(const char *value)
AnalysisSummary & WithName(const Aws::String &value)
void SetStatus(const ResourceStatus &value)
void SetAnalysisId(const Aws::String &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetAnalysisId(Aws::String &&value)
AnalysisSummary & WithName(const char *value)
void SetArn(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
AnalysisSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
AnalysisSummary & WithArn(const Aws::String &value)
AnalysisSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
const ResourceStatus & GetStatus() const
AWS_QUICKSIGHT_API AnalysisSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(Aws::Utils::DateTime &&value)
AnalysisSummary & WithAnalysisId(const char *value)
AnalysisSummary & WithAnalysisId(Aws::String &&value)
const Aws::String & GetName() const
AWS_QUICKSIGHT_API AnalysisSummary(Aws::Utils::Json::JsonView jsonValue)
AnalysisSummary & WithStatus(ResourceStatus &&value)
AnalysisSummary & WithArn(Aws::String &&value)
void SetStatus(ResourceStatus &&value)
AnalysisSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
AnalysisSummary & WithStatus(const ResourceStatus &value)
const Aws::String & GetAnalysisId() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue