AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProtocolsListDataSummary.h
1
6#pragma once
7#include <aws/fms/FMS_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 FMS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FMS_API ProtocolsListDataSummary() = default;
39
40
42
45 inline const Aws::String& GetListArn() const { return m_listArn; }
46 inline bool ListArnHasBeenSet() const { return m_listArnHasBeenSet; }
47 template<typename ListArnT = Aws::String>
48 void SetListArn(ListArnT&& value) { m_listArnHasBeenSet = true; m_listArn = std::forward<ListArnT>(value); }
49 template<typename ListArnT = Aws::String>
50 ProtocolsListDataSummary& WithListArn(ListArnT&& value) { SetListArn(std::forward<ListArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetListId() const { return m_listId; }
58 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
59 template<typename ListIdT = Aws::String>
60 void SetListId(ListIdT&& value) { m_listIdHasBeenSet = true; m_listId = std::forward<ListIdT>(value); }
61 template<typename ListIdT = Aws::String>
62 ProtocolsListDataSummary& WithListId(ListIdT&& value) { SetListId(std::forward<ListIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetListName() const { return m_listName; }
70 inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; }
71 template<typename ListNameT = Aws::String>
72 void SetListName(ListNameT&& value) { m_listNameHasBeenSet = true; m_listName = std::forward<ListNameT>(value); }
73 template<typename ListNameT = Aws::String>
74 ProtocolsListDataSummary& WithListName(ListNameT&& value) { SetListName(std::forward<ListNameT>(value)); return *this;}
76
78
81 inline const Aws::Vector<Aws::String>& GetProtocolsList() const { return m_protocolsList; }
82 inline bool ProtocolsListHasBeenSet() const { return m_protocolsListHasBeenSet; }
83 template<typename ProtocolsListT = Aws::Vector<Aws::String>>
84 void SetProtocolsList(ProtocolsListT&& value) { m_protocolsListHasBeenSet = true; m_protocolsList = std::forward<ProtocolsListT>(value); }
85 template<typename ProtocolsListT = Aws::Vector<Aws::String>>
86 ProtocolsListDataSummary& WithProtocolsList(ProtocolsListT&& value) { SetProtocolsList(std::forward<ProtocolsListT>(value)); return *this;}
87 template<typename ProtocolsListT = Aws::String>
88 ProtocolsListDataSummary& AddProtocolsList(ProtocolsListT&& value) { m_protocolsListHasBeenSet = true; m_protocolsList.emplace_back(std::forward<ProtocolsListT>(value)); return *this; }
90 private:
91
92 Aws::String m_listArn;
93 bool m_listArnHasBeenSet = false;
94
95 Aws::String m_listId;
96 bool m_listIdHasBeenSet = false;
97
98 Aws::String m_listName;
99 bool m_listNameHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_protocolsList;
102 bool m_protocolsListHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace FMS
107} // namespace Aws
AWS_FMS_API ProtocolsListDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API ProtocolsListDataSummary(Aws::Utils::Json::JsonView jsonValue)
ProtocolsListDataSummary & WithListArn(ListArnT &&value)
ProtocolsListDataSummary & WithListId(ListIdT &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API ProtocolsListDataSummary()=default
ProtocolsListDataSummary & WithProtocolsList(ProtocolsListT &&value)
ProtocolsListDataSummary & AddProtocolsList(ProtocolsListT &&value)
const Aws::Vector< Aws::String > & GetProtocolsList() const
ProtocolsListDataSummary & WithListName(ListNameT &&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