AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtocolsListData.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/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FMS
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_FMS_API ProtocolsListData();
41
42
44
47 inline const Aws::String& GetListId() const{ return m_listId; }
48 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
49 inline void SetListId(const Aws::String& value) { m_listIdHasBeenSet = true; m_listId = value; }
50 inline void SetListId(Aws::String&& value) { m_listIdHasBeenSet = true; m_listId = std::move(value); }
51 inline void SetListId(const char* value) { m_listIdHasBeenSet = true; m_listId.assign(value); }
52 inline ProtocolsListData& WithListId(const Aws::String& value) { SetListId(value); return *this;}
53 inline ProtocolsListData& WithListId(Aws::String&& value) { SetListId(std::move(value)); return *this;}
54 inline ProtocolsListData& WithListId(const char* value) { SetListId(value); return *this;}
56
58
61 inline const Aws::String& GetListName() const{ return m_listName; }
62 inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; }
63 inline void SetListName(const Aws::String& value) { m_listNameHasBeenSet = true; m_listName = value; }
64 inline void SetListName(Aws::String&& value) { m_listNameHasBeenSet = true; m_listName = std::move(value); }
65 inline void SetListName(const char* value) { m_listNameHasBeenSet = true; m_listName.assign(value); }
66 inline ProtocolsListData& WithListName(const Aws::String& value) { SetListName(value); return *this;}
67 inline ProtocolsListData& WithListName(Aws::String&& value) { SetListName(std::move(value)); return *this;}
68 inline ProtocolsListData& WithListName(const char* value) { SetListName(value); return *this;}
70
72
77 inline const Aws::String& GetListUpdateToken() const{ return m_listUpdateToken; }
78 inline bool ListUpdateTokenHasBeenSet() const { return m_listUpdateTokenHasBeenSet; }
79 inline void SetListUpdateToken(const Aws::String& value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken = value; }
80 inline void SetListUpdateToken(Aws::String&& value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken = std::move(value); }
81 inline void SetListUpdateToken(const char* value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken.assign(value); }
82 inline ProtocolsListData& WithListUpdateToken(const Aws::String& value) { SetListUpdateToken(value); return *this;}
83 inline ProtocolsListData& WithListUpdateToken(Aws::String&& value) { SetListUpdateToken(std::move(value)); return *this;}
84 inline ProtocolsListData& WithListUpdateToken(const char* value) { SetListUpdateToken(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
92 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
93 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
94 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
95 inline ProtocolsListData& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
96 inline ProtocolsListData& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
104 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
105 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
106 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
107 inline ProtocolsListData& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
108 inline ProtocolsListData& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
110
112
115 inline const Aws::Vector<Aws::String>& GetProtocolsList() const{ return m_protocolsList; }
116 inline bool ProtocolsListHasBeenSet() const { return m_protocolsListHasBeenSet; }
117 inline void SetProtocolsList(const Aws::Vector<Aws::String>& value) { m_protocolsListHasBeenSet = true; m_protocolsList = value; }
118 inline void SetProtocolsList(Aws::Vector<Aws::String>&& value) { m_protocolsListHasBeenSet = true; m_protocolsList = std::move(value); }
120 inline ProtocolsListData& WithProtocolsList(Aws::Vector<Aws::String>&& value) { SetProtocolsList(std::move(value)); return *this;}
121 inline ProtocolsListData& AddProtocolsList(const Aws::String& value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(value); return *this; }
122 inline ProtocolsListData& AddProtocolsList(Aws::String&& value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(std::move(value)); return *this; }
123 inline ProtocolsListData& AddProtocolsList(const char* value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(value); return *this; }
125
127
130 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetPreviousProtocolsList() const{ return m_previousProtocolsList; }
131 inline bool PreviousProtocolsListHasBeenSet() const { return m_previousProtocolsListHasBeenSet; }
132 inline void SetPreviousProtocolsList(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList = value; }
133 inline void SetPreviousProtocolsList(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList = std::move(value); }
136 inline ProtocolsListData& AddPreviousProtocolsList(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList.emplace(key, value); return *this; }
137 inline ProtocolsListData& AddPreviousProtocolsList(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList.emplace(std::move(key), value); return *this; }
138 inline ProtocolsListData& AddPreviousProtocolsList(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList.emplace(key, std::move(value)); return *this; }
139 inline ProtocolsListData& AddPreviousProtocolsList(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList.emplace(std::move(key), std::move(value)); return *this; }
140 inline ProtocolsListData& AddPreviousProtocolsList(const char* key, Aws::Vector<Aws::String>&& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList.emplace(key, std::move(value)); return *this; }
141 inline ProtocolsListData& AddPreviousProtocolsList(const char* key, const Aws::Vector<Aws::String>& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList.emplace(key, value); return *this; }
143 private:
144
145 Aws::String m_listId;
146 bool m_listIdHasBeenSet = false;
147
148 Aws::String m_listName;
149 bool m_listNameHasBeenSet = false;
150
151 Aws::String m_listUpdateToken;
152 bool m_listUpdateTokenHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createTime;
155 bool m_createTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastUpdateTime;
158 bool m_lastUpdateTimeHasBeenSet = false;
159
160 Aws::Vector<Aws::String> m_protocolsList;
161 bool m_protocolsListHasBeenSet = false;
162
163 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_previousProtocolsList;
164 bool m_previousProtocolsListHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace FMS
169} // namespace Aws
void SetListName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
ProtocolsListData & WithListName(const Aws::String &value)
void SetProtocolsList(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreateTime() const
ProtocolsListData & AddPreviousProtocolsList(const char *key, Aws::Vector< Aws::String > &&value)
ProtocolsListData & WithListName(Aws::String &&value)
ProtocolsListData & WithListUpdateToken(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetPreviousProtocolsList() const
ProtocolsListData & AddPreviousProtocolsList(Aws::String &&key, Aws::Vector< Aws::String > &&value)
ProtocolsListData & WithLastUpdateTime(Aws::Utils::DateTime &&value)
ProtocolsListData & WithListName(const char *value)
ProtocolsListData & AddProtocolsList(Aws::String &&value)
ProtocolsListData & WithPreviousProtocolsList(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
ProtocolsListData & AddPreviousProtocolsList(const Aws::String &key, Aws::Vector< Aws::String > &&value)
ProtocolsListData & WithCreateTime(Aws::Utils::DateTime &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetListUpdateToken(const Aws::String &value)
ProtocolsListData & AddProtocolsList(const Aws::String &value)
void SetPreviousProtocolsList(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetProtocolsList() const
ProtocolsListData & AddPreviousProtocolsList(const char *key, const Aws::Vector< Aws::String > &value)
ProtocolsListData & WithListUpdateToken(const char *value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetListUpdateToken() const
void SetListName(Aws::String &&value)
ProtocolsListData & WithListUpdateToken(Aws::String &&value)
ProtocolsListData & WithListId(const Aws::String &value)
AWS_FMS_API ProtocolsListData(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API ProtocolsListData & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtocolsListData & WithCreateTime(const Aws::Utils::DateTime &value)
ProtocolsListData & WithPreviousProtocolsList(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
ProtocolsListData & AddPreviousProtocolsList(const Aws::String &key, const Aws::Vector< Aws::String > &value)
ProtocolsListData & AddProtocolsList(const char *value)
const Aws::String & GetListId() const
ProtocolsListData & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetListId(Aws::String &&value)
ProtocolsListData & WithListId(const char *value)
void SetListUpdateToken(const char *value)
ProtocolsListData & WithListId(Aws::String &&value)
void SetListId(const Aws::String &value)
const Aws::String & GetListName() const
ProtocolsListData & AddPreviousProtocolsList(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
ProtocolsListData & WithProtocolsList(Aws::Vector< Aws::String > &&value)
void SetListUpdateToken(Aws::String &&value)
void SetProtocolsList(const Aws::Vector< Aws::String > &value)
void SetPreviousProtocolsList(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetListName(const char *value)
ProtocolsListData & WithProtocolsList(const Aws::Vector< Aws::String > &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue