AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JourneyRunsResponse.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/JourneyRunResponse.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 JourneyRunsResponse();
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<JourneyRunResponse>& GetItem() const{ return m_item; }
48 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
49 inline void SetItem(const Aws::Vector<JourneyRunResponse>& value) { m_itemHasBeenSet = true; m_item = value; }
50 inline void SetItem(Aws::Vector<JourneyRunResponse>&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
51 inline JourneyRunsResponse& WithItem(const Aws::Vector<JourneyRunResponse>& value) { SetItem(value); return *this;}
52 inline JourneyRunsResponse& WithItem(Aws::Vector<JourneyRunResponse>&& value) { SetItem(std::move(value)); return *this;}
53 inline JourneyRunsResponse& AddItem(const JourneyRunResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; }
54 inline JourneyRunsResponse& AddItem(JourneyRunResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 inline JourneyRunsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline JourneyRunsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline JourneyRunsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71 private:
72
74 bool m_itemHasBeenSet = false;
75
76 Aws::String m_nextToken;
77 bool m_nextTokenHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Pinpoint
82} // namespace Aws
JourneyRunsResponse & WithItem(const Aws::Vector< JourneyRunResponse > &value)
const Aws::Vector< JourneyRunResponse > & GetItem() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyRunsResponse & WithNextToken(Aws::String &&value)
JourneyRunsResponse & AddItem(JourneyRunResponse &&value)
AWS_PINPOINT_API JourneyRunsResponse(Aws::Utils::Json::JsonView jsonValue)
void SetItem(const Aws::Vector< JourneyRunResponse > &value)
JourneyRunsResponse & WithNextToken(const Aws::String &value)
void SetItem(Aws::Vector< JourneyRunResponse > &&value)
void SetNextToken(const Aws::String &value)
AWS_PINPOINT_API JourneyRunsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyRunsResponse & AddItem(const JourneyRunResponse &value)
JourneyRunsResponse & WithNextToken(const char *value)
JourneyRunsResponse & WithItem(Aws::Vector< JourneyRunResponse > &&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