AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GroupSummary.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace kendra
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_KENDRA_API GroupSummary() = default;
35 AWS_KENDRA_API GroupSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetGroupId() const { return m_groupId; }
45 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
46 template<typename GroupIdT = Aws::String>
47 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId = std::forward<GroupIdT>(value); }
48 template<typename GroupIdT = Aws::String>
49 GroupSummary& WithGroupId(GroupIdT&& value) { SetGroupId(std::forward<GroupIdT>(value)); return *this;}
51
53
57 inline long long GetOrderingId() const { return m_orderingId; }
58 inline bool OrderingIdHasBeenSet() const { return m_orderingIdHasBeenSet; }
59 inline void SetOrderingId(long long value) { m_orderingIdHasBeenSet = true; m_orderingId = value; }
60 inline GroupSummary& WithOrderingId(long long value) { SetOrderingId(value); return *this;}
62 private:
63
64 Aws::String m_groupId;
65 bool m_groupIdHasBeenSet = false;
66
67 long long m_orderingId{0};
68 bool m_orderingIdHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace kendra
73} // namespace Aws
GroupSummary & WithGroupId(GroupIdT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOrderingId(long long value)
const Aws::String & GetGroupId() const
void SetGroupId(GroupIdT &&value)
AWS_KENDRA_API GroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API GroupSummary()=default
AWS_KENDRA_API GroupSummary(Aws::Utils::Json::JsonView jsonValue)
GroupSummary & WithOrderingId(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue