AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptedAssetScope.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 AcceptedAssetScope();
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 AcceptedAssetScope& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
51 inline AcceptedAssetScope& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
52 inline AcceptedAssetScope& WithAssetId(const char* value) { SetAssetId(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetFilterIds() const{ return m_filterIds; }
60 inline bool FilterIdsHasBeenSet() const { return m_filterIdsHasBeenSet; }
61 inline void SetFilterIds(const Aws::Vector<Aws::String>& value) { m_filterIdsHasBeenSet = true; m_filterIds = value; }
62 inline void SetFilterIds(Aws::Vector<Aws::String>&& value) { m_filterIdsHasBeenSet = true; m_filterIds = std::move(value); }
63 inline AcceptedAssetScope& WithFilterIds(const Aws::Vector<Aws::String>& value) { SetFilterIds(value); return *this;}
64 inline AcceptedAssetScope& WithFilterIds(Aws::Vector<Aws::String>&& value) { SetFilterIds(std::move(value)); return *this;}
65 inline AcceptedAssetScope& AddFilterIds(const Aws::String& value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(value); return *this; }
66 inline AcceptedAssetScope& AddFilterIds(Aws::String&& value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(std::move(value)); return *this; }
67 inline AcceptedAssetScope& AddFilterIds(const char* value) { m_filterIdsHasBeenSet = true; m_filterIds.push_back(value); return *this; }
69 private:
70
71 Aws::String m_assetId;
72 bool m_assetIdHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_filterIds;
75 bool m_filterIdsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DataZone
80} // namespace Aws
void SetFilterIds(const Aws::Vector< Aws::String > &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AcceptedAssetScope & WithAssetId(Aws::String &&value)
AWS_DATAZONE_API AcceptedAssetScope(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API AcceptedAssetScope & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssetId(const Aws::String &value)
void SetFilterIds(Aws::Vector< Aws::String > &&value)
AcceptedAssetScope & WithFilterIds(const Aws::Vector< Aws::String > &value)
AcceptedAssetScope & AddFilterIds(const char *value)
AcceptedAssetScope & WithAssetId(const Aws::String &value)
AcceptedAssetScope & AddFilterIds(const Aws::String &value)
AcceptedAssetScope & WithAssetId(const char *value)
const Aws::Vector< Aws::String > & GetFilterIds() const
AcceptedAssetScope & AddFilterIds(Aws::String &&value)
AcceptedAssetScope & WithFilterIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue