AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
45 inline const Aws::String& GetListArn() const{ return m_listArn; }
46 inline bool ListArnHasBeenSet() const { return m_listArnHasBeenSet; }
47 inline void SetListArn(const Aws::String& value) { m_listArnHasBeenSet = true; m_listArn = value; }
48 inline void SetListArn(Aws::String&& value) { m_listArnHasBeenSet = true; m_listArn = std::move(value); }
49 inline void SetListArn(const char* value) { m_listArnHasBeenSet = true; m_listArn.assign(value); }
50 inline ProtocolsListDataSummary& WithListArn(const Aws::String& value) { SetListArn(value); return *this;}
51 inline ProtocolsListDataSummary& WithListArn(Aws::String&& value) { SetListArn(std::move(value)); return *this;}
52 inline ProtocolsListDataSummary& WithListArn(const char* value) { SetListArn(value); return *this;}
54
56
59 inline const Aws::String& GetListId() const{ return m_listId; }
60 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
61 inline void SetListId(const Aws::String& value) { m_listIdHasBeenSet = true; m_listId = value; }
62 inline void SetListId(Aws::String&& value) { m_listIdHasBeenSet = true; m_listId = std::move(value); }
63 inline void SetListId(const char* value) { m_listIdHasBeenSet = true; m_listId.assign(value); }
64 inline ProtocolsListDataSummary& WithListId(const Aws::String& value) { SetListId(value); return *this;}
65 inline ProtocolsListDataSummary& WithListId(Aws::String&& value) { SetListId(std::move(value)); return *this;}
66 inline ProtocolsListDataSummary& WithListId(const char* value) { SetListId(value); return *this;}
68
70
73 inline const Aws::String& GetListName() const{ return m_listName; }
74 inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; }
75 inline void SetListName(const Aws::String& value) { m_listNameHasBeenSet = true; m_listName = value; }
76 inline void SetListName(Aws::String&& value) { m_listNameHasBeenSet = true; m_listName = std::move(value); }
77 inline void SetListName(const char* value) { m_listNameHasBeenSet = true; m_listName.assign(value); }
78 inline ProtocolsListDataSummary& WithListName(const Aws::String& value) { SetListName(value); return *this;}
79 inline ProtocolsListDataSummary& WithListName(Aws::String&& value) { SetListName(std::move(value)); return *this;}
80 inline ProtocolsListDataSummary& WithListName(const char* value) { SetListName(value); return *this;}
82
84
87 inline const Aws::Vector<Aws::String>& GetProtocolsList() const{ return m_protocolsList; }
88 inline bool ProtocolsListHasBeenSet() const { return m_protocolsListHasBeenSet; }
89 inline void SetProtocolsList(const Aws::Vector<Aws::String>& value) { m_protocolsListHasBeenSet = true; m_protocolsList = value; }
90 inline void SetProtocolsList(Aws::Vector<Aws::String>&& value) { m_protocolsListHasBeenSet = true; m_protocolsList = std::move(value); }
92 inline ProtocolsListDataSummary& WithProtocolsList(Aws::Vector<Aws::String>&& value) { SetProtocolsList(std::move(value)); return *this;}
93 inline ProtocolsListDataSummary& AddProtocolsList(const Aws::String& value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(value); return *this; }
94 inline ProtocolsListDataSummary& AddProtocolsList(Aws::String&& value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(std::move(value)); return *this; }
95 inline ProtocolsListDataSummary& AddProtocolsList(const char* value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(value); return *this; }
97 private:
98
99 Aws::String m_listArn;
100 bool m_listArnHasBeenSet = false;
101
102 Aws::String m_listId;
103 bool m_listIdHasBeenSet = false;
104
105 Aws::String m_listName;
106 bool m_listNameHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_protocolsList;
109 bool m_protocolsListHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace FMS
114} // namespace Aws
void SetProtocolsList(const Aws::Vector< Aws::String > &value)
AWS_FMS_API ProtocolsListDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtocolsListDataSummary & WithListArn(const Aws::String &value)
ProtocolsListDataSummary & WithListName(const char *value)
ProtocolsListDataSummary & WithListArn(Aws::String &&value)
ProtocolsListDataSummary & AddProtocolsList(Aws::String &&value)
ProtocolsListDataSummary & WithProtocolsList(Aws::Vector< Aws::String > &&value)
ProtocolsListDataSummary & WithListId(const Aws::String &value)
ProtocolsListDataSummary & WithListName(Aws::String &&value)
AWS_FMS_API ProtocolsListDataSummary(Aws::Utils::Json::JsonView jsonValue)
ProtocolsListDataSummary & WithProtocolsList(const Aws::Vector< Aws::String > &value)
ProtocolsListDataSummary & WithListId(Aws::String &&value)
void SetProtocolsList(Aws::Vector< Aws::String > &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
ProtocolsListDataSummary & AddProtocolsList(const char *value)
ProtocolsListDataSummary & WithListArn(const char *value)
const Aws::Vector< Aws::String > & GetProtocolsList() const
ProtocolsListDataSummary & WithListId(const char *value)
ProtocolsListDataSummary & AddProtocolsList(const Aws::String &value)
ProtocolsListDataSummary & WithListName(const 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