AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListConfigurationSetsResult.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/email/model/ResponseMetadata.h>
11#include <aws/email/model/ConfigurationSet.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace SES
27{
28namespace Model
29{
40 {
41 public:
42 AWS_SES_API ListConfigurationSetsResult() = default;
45
46
48
51 inline const Aws::Vector<ConfigurationSet>& GetConfigurationSets() const { return m_configurationSets; }
52 template<typename ConfigurationSetsT = Aws::Vector<ConfigurationSet>>
53 void SetConfigurationSets(ConfigurationSetsT&& value) { m_configurationSetsHasBeenSet = true; m_configurationSets = std::forward<ConfigurationSetsT>(value); }
54 template<typename ConfigurationSetsT = Aws::Vector<ConfigurationSet>>
55 ListConfigurationSetsResult& WithConfigurationSets(ConfigurationSetsT&& value) { SetConfigurationSets(std::forward<ConfigurationSetsT>(value)); return *this;}
56 template<typename ConfigurationSetsT = ConfigurationSet>
57 ListConfigurationSetsResult& AddConfigurationSets(ConfigurationSetsT&& value) { m_configurationSetsHasBeenSet = true; m_configurationSets.emplace_back(std::forward<ConfigurationSetsT>(value)); return *this; }
59
61
66 inline const Aws::String& GetNextToken() const { return m_nextToken; }
67 template<typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
69 template<typename NextTokenT = Aws::String>
70 ListConfigurationSetsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
72
74
75 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
76 template<typename ResponseMetadataT = ResponseMetadata>
77 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
78 template<typename ResponseMetadataT = ResponseMetadata>
79 ListConfigurationSetsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
81 private:
82
83 Aws::Vector<ConfigurationSet> m_configurationSets;
84 bool m_configurationSetsHasBeenSet = false;
85
86 Aws::String m_nextToken;
87 bool m_nextTokenHasBeenSet = false;
88
89 ResponseMetadata m_responseMetadata;
90 bool m_responseMetadataHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SES
95} // namespace Aws
AWS_SES_API ListConfigurationSetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SES_API ListConfigurationSetsResult()=default
ListConfigurationSetsResult & WithNextToken(NextTokenT &&value)
ListConfigurationSetsResult & AddConfigurationSets(ConfigurationSetsT &&value)
AWS_SES_API ListConfigurationSetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListConfigurationSetsResult & WithConfigurationSets(ConfigurationSetsT &&value)
const Aws::Vector< ConfigurationSet > & GetConfigurationSets() const
ListConfigurationSetsResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument