AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportJobsResponse.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/ExportJobResponse.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
36 {
37 public:
38 AWS_PINPOINT_API ExportJobsResponse();
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<ExportJobResponse>& GetItem() const{ return m_item; }
51 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
52 inline void SetItem(const Aws::Vector<ExportJobResponse>& value) { m_itemHasBeenSet = true; m_item = value; }
53 inline void SetItem(Aws::Vector<ExportJobResponse>&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
54 inline ExportJobsResponse& WithItem(const Aws::Vector<ExportJobResponse>& value) { SetItem(value); return *this;}
55 inline ExportJobsResponse& WithItem(Aws::Vector<ExportJobResponse>&& value) { SetItem(std::move(value)); return *this;}
56 inline ExportJobsResponse& AddItem(const ExportJobResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; }
57 inline ExportJobsResponse& AddItem(ExportJobResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; }
59
61
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
68 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
69 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
70 inline ExportJobsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 inline ExportJobsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 inline ExportJobsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
74 private:
75
77 bool m_itemHasBeenSet = false;
78
79 Aws::String m_nextToken;
80 bool m_nextTokenHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Pinpoint
85} // namespace Aws
void SetItem(const Aws::Vector< ExportJobResponse > &value)
ExportJobsResponse & WithNextToken(const Aws::String &value)
AWS_PINPOINT_API ExportJobsResponse(Aws::Utils::Json::JsonView jsonValue)
ExportJobsResponse & AddItem(const ExportJobResponse &value)
ExportJobsResponse & WithItem(Aws::Vector< ExportJobResponse > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNextToken(const Aws::String &value)
void SetItem(Aws::Vector< ExportJobResponse > &&value)
ExportJobsResponse & WithNextToken(const char *value)
AWS_PINPOINT_API ExportJobsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ExportJobResponse > & GetItem() const
ExportJobsResponse & WithNextToken(Aws::String &&value)
ExportJobsResponse & WithItem(const Aws::Vector< ExportJobResponse > &value)
ExportJobsResponse & AddItem(ExportJobResponse &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue