AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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