AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GroupSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra {
20namespace Model {
21
28 public:
29 AWS_KENDRA_API GroupSummary() = default;
30 AWS_KENDRA_API GroupSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetGroupId() const { return m_groupId; }
39 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
40 template <typename GroupIdT = Aws::String>
41 void SetGroupId(GroupIdT&& value) {
42 m_groupIdHasBeenSet = true;
43 m_groupId = std::forward<GroupIdT>(value);
44 }
45 template <typename GroupIdT = Aws::String>
46 GroupSummary& WithGroupId(GroupIdT&& value) {
47 SetGroupId(std::forward<GroupIdT>(value));
48 return *this;
49 }
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) {
60 m_orderingIdHasBeenSet = true;
61 m_orderingId = value;
62 }
63 inline GroupSummary& WithOrderingId(long long value) {
64 SetOrderingId(value);
65 return *this;
66 }
68 private:
69 Aws::String m_groupId;
70
71 long long m_orderingId{0};
72 bool m_groupIdHasBeenSet = false;
73 bool m_orderingIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace kendra
78} // 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