AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetScope.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API AssetScope();
36 AWS_DATAZONE_API AssetScope(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API AssetScope& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAssetId() const{ return m_assetId; }
46 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
47 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
48 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
49 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
50 inline AssetScope& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
51 inline AssetScope& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
52 inline AssetScope& WithAssetId(const char* value) { SetAssetId(value); return *this;}
54
56
59 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
60 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
61 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
62 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
63 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
64 inline AssetScope& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
65 inline AssetScope& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
66 inline AssetScope& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetFilterIds() const{ return m_filterIds; }
74 inline bool FilterIdsHasBeenSet() const { return m_filterIdsHasBeenSet; }
75 inline void SetFilterIds(const Aws::Vector<Aws::String>& value) { m_filterIdsHasBeenSet = true; m_filterIds = value; }
76 inline void SetFilterIds(Aws::Vector<Aws::String>&& value) { m_filterIdsHasBeenSet = true; m_filterIds = std::move(value); }
77 inline AssetScope& WithFilterIds(const Aws::Vector<Aws::String>& value) { SetFilterIds(value); return *this;}
78 inline AssetScope& WithFilterIds(Aws::Vector<Aws::String>&& value) { SetFilterIds(std::move(value)); return *this;}
79 inline AssetScope& AddFilterIds(const Aws::String& value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(value); return *this; }
80 inline AssetScope& AddFilterIds(Aws::String&& value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(std::move(value)); return *this; }
81 inline AssetScope& AddFilterIds(const char* value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(value); return *this; }
83
85
88 inline const Aws::String& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
93 inline AssetScope& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
94 inline AssetScope& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
95 inline AssetScope& WithStatus(const char* value) { SetStatus(value); return *this;}
97 private:
98
99 Aws::String m_assetId;
100 bool m_assetIdHasBeenSet = false;
101
102 Aws::String m_errorMessage;
103 bool m_errorMessageHasBeenSet = false;
104
105 Aws::Vector<Aws::String> m_filterIds;
106 bool m_filterIdsHasBeenSet = false;
107
108 Aws::String m_status;
109 bool m_statusHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace DataZone
114} // namespace Aws
const Aws::String & GetAssetId() const
Definition AssetScope.h:45
AssetScope & WithErrorMessage(const char *value)
Definition AssetScope.h:66
AssetScope & AddFilterIds(const char *value)
Definition AssetScope.h:81
const Aws::String & GetStatus() const
Definition AssetScope.h:88
void SetAssetId(Aws::String &&value)
Definition AssetScope.h:48
void SetErrorMessage(const Aws::String &value)
Definition AssetScope.h:61
AssetScope & WithAssetId(Aws::String &&value)
Definition AssetScope.h:51
AssetScope & WithErrorMessage(Aws::String &&value)
Definition AssetScope.h:65
void SetAssetId(const Aws::String &value)
Definition AssetScope.h:47
void SetFilterIds(const Aws::Vector< Aws::String > &value)
Definition AssetScope.h:75
AWS_DATAZONE_API AssetScope & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetScope & WithFilterIds(Aws::Vector< Aws::String > &&value)
Definition AssetScope.h:78
AssetScope & AddFilterIds(const Aws::String &value)
Definition AssetScope.h:79
void SetStatus(const Aws::String &value)
Definition AssetScope.h:90
void SetAssetId(const char *value)
Definition AssetScope.h:49
const Aws::String & GetErrorMessage() const
Definition AssetScope.h:59
AssetScope & WithStatus(Aws::String &&value)
Definition AssetScope.h:94
void SetErrorMessage(Aws::String &&value)
Definition AssetScope.h:62
void SetErrorMessage(const char *value)
Definition AssetScope.h:63
void SetFilterIds(Aws::Vector< Aws::String > &&value)
Definition AssetScope.h:76
AssetScope & WithAssetId(const Aws::String &value)
Definition AssetScope.h:50
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetScope & WithStatus(const Aws::String &value)
Definition AssetScope.h:93
void SetStatus(Aws::String &&value)
Definition AssetScope.h:91
AssetScope & WithFilterIds(const Aws::Vector< Aws::String > &value)
Definition AssetScope.h:77
AWS_DATAZONE_API AssetScope(Aws::Utils::Json::JsonView jsonValue)
AssetScope & AddFilterIds(Aws::String &&value)
Definition AssetScope.h:80
AssetScope & WithErrorMessage(const Aws::String &value)
Definition AssetScope.h:64
void SetStatus(const char *value)
Definition AssetScope.h:92
const Aws::Vector< Aws::String > & GetFilterIds() const
Definition AssetScope.h:73
AssetScope & WithStatus(const char *value)
Definition AssetScope.h:95
AssetScope & WithAssetId(const char *value)
Definition AssetScope.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue