AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportJobsResponse.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/ImportJobResponse.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
37 {
38 public:
39 AWS_PINPOINT_API ImportJobsResponse();
42 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::Vector<ImportJobResponse>& GetItem() const{ return m_item; }
52 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
53 inline void SetItem(const Aws::Vector<ImportJobResponse>& value) { m_itemHasBeenSet = true; m_item = value; }
54 inline void SetItem(Aws::Vector<ImportJobResponse>&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
55 inline ImportJobsResponse& WithItem(const Aws::Vector<ImportJobResponse>& value) { SetItem(value); return *this;}
56 inline ImportJobsResponse& WithItem(Aws::Vector<ImportJobResponse>&& value) { SetItem(std::move(value)); return *this;}
57 inline ImportJobsResponse& AddItem(const ImportJobResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; }
58 inline ImportJobsResponse& AddItem(ImportJobResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; }
60
62
66 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
68 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
69 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
70 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
71 inline ImportJobsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
72 inline ImportJobsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
73 inline ImportJobsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
75 private:
76
78 bool m_itemHasBeenSet = false;
79
80 Aws::String m_nextToken;
81 bool m_nextTokenHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Pinpoint
86} // namespace Aws
ImportJobsResponse & WithNextToken(const char *value)
const Aws::Vector< ImportJobResponse > & GetItem() const
void SetItem(const Aws::Vector< ImportJobResponse > &value)
AWS_PINPOINT_API ImportJobsResponse(Aws::Utils::Json::JsonView jsonValue)
void SetNextToken(const Aws::String &value)
void SetItem(Aws::Vector< ImportJobResponse > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ImportJobsResponse & AddItem(ImportJobResponse &&value)
ImportJobsResponse & AddItem(const ImportJobResponse &value)
ImportJobsResponse & WithNextToken(Aws::String &&value)
ImportJobsResponse & WithItem(const Aws::Vector< ImportJobResponse > &value)
ImportJobsResponse & WithNextToken(const Aws::String &value)
AWS_PINPOINT_API ImportJobsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportJobsResponse & WithItem(Aws::Vector< ImportJobResponse > &&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