AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TemplateVersionsResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/TemplateVersionResponse.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PINPOINT_API TemplateVersionsResponse();
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<TemplateVersionResponse>& GetItem() const{ return m_item; }
48 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
49 inline void SetItem(const Aws::Vector<TemplateVersionResponse>& value) { m_itemHasBeenSet = true; m_item = value; }
50 inline void SetItem(Aws::Vector<TemplateVersionResponse>&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
52 inline TemplateVersionsResponse& WithItem(Aws::Vector<TemplateVersionResponse>&& value) { SetItem(std::move(value)); return *this;}
53 inline TemplateVersionsResponse& AddItem(const TemplateVersionResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; }
54 inline TemplateVersionsResponse& AddItem(TemplateVersionResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::String& GetMessage() const{ return m_message; }
63 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
64 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
65 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
66 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
67 inline TemplateVersionsResponse& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
68 inline TemplateVersionsResponse& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
69 inline TemplateVersionsResponse& WithMessage(const char* value) { SetMessage(value); return *this;}
71
73
77 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
80 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
82 inline TemplateVersionsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
83 inline TemplateVersionsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
84 inline TemplateVersionsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86
88
92 inline const Aws::String& GetRequestID() const{ return m_requestID; }
93 inline bool RequestIDHasBeenSet() const { return m_requestIDHasBeenSet; }
94 inline void SetRequestID(const Aws::String& value) { m_requestIDHasBeenSet = true; m_requestID = value; }
95 inline void SetRequestID(Aws::String&& value) { m_requestIDHasBeenSet = true; m_requestID = std::move(value); }
96 inline void SetRequestID(const char* value) { m_requestIDHasBeenSet = true; m_requestID.assign(value); }
97 inline TemplateVersionsResponse& WithRequestID(const Aws::String& value) { SetRequestID(value); return *this;}
98 inline TemplateVersionsResponse& WithRequestID(Aws::String&& value) { SetRequestID(std::move(value)); return *this;}
99 inline TemplateVersionsResponse& WithRequestID(const char* value) { SetRequestID(value); return *this;}
101 private:
102
104 bool m_itemHasBeenSet = false;
105
106 Aws::String m_message;
107 bool m_messageHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 Aws::String m_requestID;
113 bool m_requestIDHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Pinpoint
118} // namespace Aws
TemplateVersionsResponse & AddItem(TemplateVersionResponse &&value)
void SetItem(const Aws::Vector< TemplateVersionResponse > &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< TemplateVersionResponse > & GetItem() const
TemplateVersionsResponse & WithRequestID(const Aws::String &value)
TemplateVersionsResponse & WithItem(const Aws::Vector< TemplateVersionResponse > &value)
TemplateVersionsResponse & WithMessage(const Aws::String &value)
TemplateVersionsResponse & WithMessage(const char *value)
TemplateVersionsResponse & WithNextToken(Aws::String &&value)
TemplateVersionsResponse & WithNextToken(const char *value)
TemplateVersionsResponse & WithNextToken(const Aws::String &value)
TemplateVersionsResponse & WithRequestID(Aws::String &&value)
TemplateVersionsResponse & AddItem(const TemplateVersionResponse &value)
TemplateVersionsResponse & WithMessage(Aws::String &&value)
TemplateVersionsResponse & WithItem(Aws::Vector< TemplateVersionResponse > &&value)
void SetItem(Aws::Vector< TemplateVersionResponse > &&value)
AWS_PINPOINT_API TemplateVersionsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionsResponse & WithRequestID(const char *value)
AWS_PINPOINT_API TemplateVersionsResponse(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue