AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AIAgentVersionSummary.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/AIAgentSummary.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QConnect {
20namespace Model {
21
28 public:
29 AWS_QCONNECT_API AIAgentVersionSummary() = default;
32 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const AIAgentSummary& GetAiAgentSummary() const { return m_aiAgentSummary; }
39 inline bool AiAgentSummaryHasBeenSet() const { return m_aiAgentSummaryHasBeenSet; }
40 template <typename AiAgentSummaryT = AIAgentSummary>
41 void SetAiAgentSummary(AiAgentSummaryT&& value) {
42 m_aiAgentSummaryHasBeenSet = true;
43 m_aiAgentSummary = std::forward<AiAgentSummaryT>(value);
44 }
45 template <typename AiAgentSummaryT = AIAgentSummary>
46 AIAgentVersionSummary& WithAiAgentSummary(AiAgentSummaryT&& value) {
47 SetAiAgentSummary(std::forward<AiAgentSummaryT>(value));
48 return *this;
49 }
51
53
56 inline long long GetVersionNumber() const { return m_versionNumber; }
57 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
58 inline void SetVersionNumber(long long value) {
59 m_versionNumberHasBeenSet = true;
60 m_versionNumber = value;
61 }
62 inline AIAgentVersionSummary& WithVersionNumber(long long value) {
63 SetVersionNumber(value);
64 return *this;
65 }
67 private:
68 AIAgentSummary m_aiAgentSummary;
69
70 long long m_versionNumber{0};
71 bool m_aiAgentSummaryHasBeenSet = false;
72 bool m_versionNumberHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace QConnect
77} // namespace Aws
AWS_QCONNECT_API AIAgentVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AIAgentVersionSummary & WithAiAgentSummary(AiAgentSummaryT &&value)
AIAgentVersionSummary & WithVersionNumber(long long value)
AWS_QCONNECT_API AIAgentVersionSummary(Aws::Utils::Json::JsonView jsonValue)
const AIAgentSummary & GetAiAgentSummary() const
AWS_QCONNECT_API AIAgentVersionSummary()=default
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue