AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
AssetConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/dataexchange/DataExchange_EXPORTS.h>
9#include <aws/dataexchange/model/Tag.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataExchange {
21namespace Model {
22
30 public:
31 AWS_DATAEXCHANGE_API AssetConfiguration() = default;
32 AWS_DATAEXCHANGE_API AssetConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
41 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
42 template <typename TagsT = Aws::Vector<Tag>>
43 void SetTags(TagsT&& value) {
44 m_tagsHasBeenSet = true;
45 m_tags = std::forward<TagsT>(value);
46 }
47 template <typename TagsT = Aws::Vector<Tag>>
48 AssetConfiguration& WithTags(TagsT&& value) {
49 SetTags(std::forward<TagsT>(value));
50 return *this;
51 }
52 template <typename TagsT = Tag>
53 AssetConfiguration& AddTags(TagsT&& value) {
54 m_tagsHasBeenSet = true;
55 m_tags.emplace_back(std::forward<TagsT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Tag> m_tags;
61 bool m_tagsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace DataExchange
66} // namespace Aws
AssetConfiguration & WithTags(TagsT &&value)
AWS_DATAEXCHANGE_API AssetConfiguration()=default
AWS_DATAEXCHANGE_API AssetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetConfiguration & AddTags(TagsT &&value)
AWS_DATAEXCHANGE_API AssetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Tag > & GetTags() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue