AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutProtocolsListRequest.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/FMSRequest.h>
9#include <aws/fms/model/ProtocolsListData.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fms/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace FMS
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "PutProtocolsList"; }
33
34 AWS_FMS_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const ProtocolsListData& GetProtocolsList() const{ return m_protocolsList; }
44 inline bool ProtocolsListHasBeenSet() const { return m_protocolsListHasBeenSet; }
45 inline void SetProtocolsList(const ProtocolsListData& value) { m_protocolsListHasBeenSet = true; m_protocolsList = value; }
46 inline void SetProtocolsList(ProtocolsListData&& value) { m_protocolsListHasBeenSet = true; m_protocolsList = std::move(value); }
47 inline PutProtocolsListRequest& WithProtocolsList(const ProtocolsListData& value) { SetProtocolsList(value); return *this;}
48 inline PutProtocolsListRequest& WithProtocolsList(ProtocolsListData&& value) { SetProtocolsList(std::move(value)); return *this;}
50
52
55 inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
56 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
57 inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
58 inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); }
59 inline PutProtocolsListRequest& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
60 inline PutProtocolsListRequest& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
61 inline PutProtocolsListRequest& AddTagList(const Tag& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
62 inline PutProtocolsListRequest& AddTagList(Tag&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; }
64 private:
65
66 ProtocolsListData m_protocolsList;
67 bool m_protocolsListHasBeenSet = false;
68
69 Aws::Vector<Tag> m_tagList;
70 bool m_tagListHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace FMS
75} // namespace Aws
const ProtocolsListData & GetProtocolsList() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTagList() const
PutProtocolsListRequest & WithTagList(Aws::Vector< Tag > &&value)
AWS_FMS_API Aws::String SerializePayload() const override
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutProtocolsListRequest & AddTagList(const Tag &value)
void SetProtocolsList(const ProtocolsListData &value)
PutProtocolsListRequest & WithTagList(const Aws::Vector< Tag > &value)
void SetTagList(Aws::Vector< Tag > &&value)
PutProtocolsListRequest & WithProtocolsList(const ProtocolsListData &value)
void SetTagList(const Aws::Vector< Tag > &value)
void SetProtocolsList(ProtocolsListData &&value)
PutProtocolsListRequest & WithProtocolsList(ProtocolsListData &&value)
PutProtocolsListRequest & AddTagList(Tag &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector