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/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace PinpointEmail
25{
26namespace Model
27{
35 {
36 public:
37 AWS_PINPOINTEMAIL_API ListConfigurationSetsResult() = default;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetConfigurationSets() const { return m_configurationSets; }
48 template<typename ConfigurationSetsT = Aws::Vector<Aws::String>>
49 void SetConfigurationSets(ConfigurationSetsT&& value) { m_configurationSetsHasBeenSet = true; m_configurationSets = std::forward<ConfigurationSetsT>(value); }
50 template<typename ConfigurationSetsT = Aws::Vector<Aws::String>>
51 ListConfigurationSetsResult& WithConfigurationSets(ConfigurationSetsT&& value) { SetConfigurationSets(std::forward<ConfigurationSetsT>(value)); return *this;}
52 template<typename ConfigurationSetsT = Aws::String>
53 ListConfigurationSetsResult& AddConfigurationSets(ConfigurationSetsT&& value) { m_configurationSetsHasBeenSet = true; m_configurationSets.emplace_back(std::forward<ConfigurationSetsT>(value)); return *this; }
55
57
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 template<typename NextTokenT = Aws::String>
65 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
66 template<typename NextTokenT = Aws::String>
67 ListConfigurationSetsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template<typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
75 template<typename RequestIdT = Aws::String>
76 ListConfigurationSetsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
78 private:
79
80 Aws::Vector<Aws::String> m_configurationSets;
81 bool m_configurationSetsHasBeenSet = false;
82
83 Aws::String m_nextToken;
84 bool m_nextTokenHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace PinpointEmail
92} // namespace Aws
AWS_PINPOINTEMAIL_API ListConfigurationSetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetConfigurationSets() const
ListConfigurationSetsResult & AddConfigurationSets(ConfigurationSetsT &&value)
AWS_PINPOINTEMAIL_API ListConfigurationSetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListConfigurationSetsResult & WithConfigurationSets(ConfigurationSetsT &&value)
ListConfigurationSetsResult & WithRequestId(RequestIdT &&value)
ListConfigurationSetsResult & WithNextToken(NextTokenT &&value)
AWS_PINPOINTEMAIL_API ListConfigurationSetsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue