AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetBundleImportJobSummary.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AssetBundleImportJobStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/quicksight/model/AssetBundleImportFailureAction.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API AssetBundleImportJobSummary();
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AssetBundleImportJobStatus& GetJobStatus() const{ return m_jobStatus; }
49 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
50 inline void SetJobStatus(const AssetBundleImportJobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
51 inline void SetJobStatus(AssetBundleImportJobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
53 inline AssetBundleImportJobSummary& WithJobStatus(AssetBundleImportJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline AssetBundleImportJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline AssetBundleImportJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline AssetBundleImportJobSummary& WithArn(const char* value) { SetArn(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
75 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
76 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
77 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
79 inline AssetBundleImportJobSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
81
83
87 inline const Aws::String& GetAssetBundleImportJobId() const{ return m_assetBundleImportJobId; }
88 inline bool AssetBundleImportJobIdHasBeenSet() const { return m_assetBundleImportJobIdHasBeenSet; }
89 inline void SetAssetBundleImportJobId(const Aws::String& value) { m_assetBundleImportJobIdHasBeenSet = true; m_assetBundleImportJobId = value; }
90 inline void SetAssetBundleImportJobId(Aws::String&& value) { m_assetBundleImportJobIdHasBeenSet = true; m_assetBundleImportJobId = std::move(value); }
91 inline void SetAssetBundleImportJobId(const char* value) { m_assetBundleImportJobIdHasBeenSet = true; m_assetBundleImportJobId.assign(value); }
94 inline AssetBundleImportJobSummary& WithAssetBundleImportJobId(const char* value) { SetAssetBundleImportJobId(value); return *this;}
96
98
101 inline const AssetBundleImportFailureAction& GetFailureAction() const{ return m_failureAction; }
102 inline bool FailureActionHasBeenSet() const { return m_failureActionHasBeenSet; }
103 inline void SetFailureAction(const AssetBundleImportFailureAction& value) { m_failureActionHasBeenSet = true; m_failureAction = value; }
104 inline void SetFailureAction(AssetBundleImportFailureAction&& value) { m_failureActionHasBeenSet = true; m_failureAction = std::move(value); }
108 private:
109
110 AssetBundleImportJobStatus m_jobStatus;
111 bool m_jobStatusHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::Utils::DateTime m_createdTime;
117 bool m_createdTimeHasBeenSet = false;
118
119 Aws::String m_assetBundleImportJobId;
120 bool m_assetBundleImportJobIdHasBeenSet = false;
121
122 AssetBundleImportFailureAction m_failureAction;
123 bool m_failureActionHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace QuickSight
128} // namespace Aws
AssetBundleImportJobSummary & WithJobStatus(AssetBundleImportJobStatus &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AssetBundleImportJobSummary & WithArn(const char *value)
AssetBundleImportJobSummary & WithArn(Aws::String &&value)
AssetBundleImportJobSummary & WithFailureAction(AssetBundleImportFailureAction &&value)
AssetBundleImportJobSummary & WithAssetBundleImportJobId(const char *value)
void SetFailureAction(const AssetBundleImportFailureAction &value)
AssetBundleImportJobSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
AssetBundleImportJobSummary & WithAssetBundleImportJobId(Aws::String &&value)
AssetBundleImportJobSummary & WithArn(const Aws::String &value)
AssetBundleImportJobSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
const AssetBundleImportFailureAction & GetFailureAction() const
AssetBundleImportJobSummary & WithAssetBundleImportJobId(const Aws::String &value)
AWS_QUICKSIGHT_API AssetBundleImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AssetBundleImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
const AssetBundleImportJobStatus & GetJobStatus() const
void SetJobStatus(const AssetBundleImportJobStatus &value)
void SetFailureAction(AssetBundleImportFailureAction &&value)
AssetBundleImportJobSummary & WithJobStatus(const AssetBundleImportJobStatus &value)
AssetBundleImportJobSummary & WithFailureAction(const AssetBundleImportFailureAction &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue