AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline AssetBundleImportJobStatus GetJobStatus() const { return m_jobStatus; }
49 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
50 inline void SetJobStatus(AssetBundleImportJobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template<typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
62 template<typename ArnT = Aws::String>
63 AssetBundleImportJobSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
71 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
72 template<typename CreatedTimeT = Aws::Utils::DateTime>
73 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
74 template<typename CreatedTimeT = Aws::Utils::DateTime>
75 AssetBundleImportJobSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
77
79
83 inline const Aws::String& GetAssetBundleImportJobId() const { return m_assetBundleImportJobId; }
84 inline bool AssetBundleImportJobIdHasBeenSet() const { return m_assetBundleImportJobIdHasBeenSet; }
85 template<typename AssetBundleImportJobIdT = Aws::String>
86 void SetAssetBundleImportJobId(AssetBundleImportJobIdT&& value) { m_assetBundleImportJobIdHasBeenSet = true; m_assetBundleImportJobId = std::forward<AssetBundleImportJobIdT>(value); }
87 template<typename AssetBundleImportJobIdT = Aws::String>
88 AssetBundleImportJobSummary& WithAssetBundleImportJobId(AssetBundleImportJobIdT&& value) { SetAssetBundleImportJobId(std::forward<AssetBundleImportJobIdT>(value)); return *this;}
90
92
95 inline AssetBundleImportFailureAction GetFailureAction() const { return m_failureAction; }
96 inline bool FailureActionHasBeenSet() const { return m_failureActionHasBeenSet; }
97 inline void SetFailureAction(AssetBundleImportFailureAction value) { m_failureActionHasBeenSet = true; m_failureAction = value; }
100 private:
101
103 bool m_jobStatusHasBeenSet = false;
104
105 Aws::String m_arn;
106 bool m_arnHasBeenSet = false;
107
108 Aws::Utils::DateTime m_createdTime{};
109 bool m_createdTimeHasBeenSet = false;
110
111 Aws::String m_assetBundleImportJobId;
112 bool m_assetBundleImportJobIdHasBeenSet = false;
113
115 bool m_failureActionHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace QuickSight
120} // namespace Aws
AssetBundleImportJobSummary & WithCreatedTime(CreatedTimeT &&value)
void SetAssetBundleImportJobId(AssetBundleImportJobIdT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AssetBundleImportJobSummary & WithJobStatus(AssetBundleImportJobStatus value)
AssetBundleImportJobSummary & WithAssetBundleImportJobId(AssetBundleImportJobIdT &&value)
AssetBundleImportJobSummary & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API AssetBundleImportJobSummary()=default
AWS_QUICKSIGHT_API AssetBundleImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AssetBundleImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetFailureAction(AssetBundleImportFailureAction value)
AssetBundleImportJobSummary & WithFailureAction(AssetBundleImportFailureAction value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue