AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ExperiencesSummary.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kendra/model/ExperienceStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/kendra/model/ExperienceEndpoint.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace kendra
26{
27namespace Model
28{
29
40 {
41 public:
42 AWS_KENDRA_API ExperiencesSummary() = default;
45 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 ExperiencesSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetId() const { return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 template<typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
68 template<typename IdT = Aws::String>
69 ExperiencesSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
77 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
78 template<typename CreatedAtT = Aws::Utils::DateTime>
79 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
80 template<typename CreatedAtT = Aws::Utils::DateTime>
81 ExperiencesSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
83
85
88 inline ExperienceStatus GetStatus() const { return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(ExperienceStatus value) { m_statusHasBeenSet = true; m_status = value; }
91 inline ExperiencesSummary& WithStatus(ExperienceStatus value) { SetStatus(value); return *this;}
93
95
99 inline const Aws::Vector<ExperienceEndpoint>& GetEndpoints() const { return m_endpoints; }
100 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
101 template<typename EndpointsT = Aws::Vector<ExperienceEndpoint>>
102 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
103 template<typename EndpointsT = Aws::Vector<ExperienceEndpoint>>
104 ExperiencesSummary& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
105 template<typename EndpointsT = ExperienceEndpoint>
106 ExperiencesSummary& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
108 private:
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_id;
114 bool m_idHasBeenSet = false;
115
116 Aws::Utils::DateTime m_createdAt{};
117 bool m_createdAtHasBeenSet = false;
118
120 bool m_statusHasBeenSet = false;
121
123 bool m_endpointsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace kendra
128} // namespace Aws
ExperiencesSummary & AddEndpoints(EndpointsT &&value)
ExperiencesSummary & WithStatus(ExperienceStatus value)
AWS_KENDRA_API ExperiencesSummary(Aws::Utils::Json::JsonView jsonValue)
ExperiencesSummary & WithName(NameT &&value)
ExperiencesSummary & WithCreatedAt(CreatedAtT &&value)
ExperiencesSummary & WithId(IdT &&value)
void SetStatus(ExperienceStatus value)
AWS_KENDRA_API ExperiencesSummary()=default
const Aws::Vector< ExperienceEndpoint > & GetEndpoints() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_KENDRA_API ExperiencesSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
ExperiencesSummary & WithEndpoints(EndpointsT &&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