AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
ConversationLogsResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
10#include <aws/lex-models/model/LogSettingsResponse.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelBuildingService {
22namespace Model {
23
31 public:
32 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse() = default;
33 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<LogSettingsResponse>& GetLogSettings() const { return m_logSettings; }
43 inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; }
44 template <typename LogSettingsT = Aws::Vector<LogSettingsResponse>>
45 void SetLogSettings(LogSettingsT&& value) {
46 m_logSettingsHasBeenSet = true;
47 m_logSettings = std::forward<LogSettingsT>(value);
48 }
49 template <typename LogSettingsT = Aws::Vector<LogSettingsResponse>>
51 SetLogSettings(std::forward<LogSettingsT>(value));
52 return *this;
53 }
54 template <typename LogSettingsT = LogSettingsResponse>
56 m_logSettingsHasBeenSet = true;
57 m_logSettings.emplace_back(std::forward<LogSettingsT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
68 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
69 template <typename IamRoleArnT = Aws::String>
70 void SetIamRoleArn(IamRoleArnT&& value) {
71 m_iamRoleArnHasBeenSet = true;
72 m_iamRoleArn = std::forward<IamRoleArnT>(value);
73 }
74 template <typename IamRoleArnT = Aws::String>
76 SetIamRoleArn(std::forward<IamRoleArnT>(value));
77 return *this;
78 }
80 private:
82
83 Aws::String m_iamRoleArn;
84 bool m_logSettingsHasBeenSet = false;
85 bool m_iamRoleArnHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace LexModelBuildingService
90} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationLogsResponse & WithIamRoleArn(IamRoleArnT &&value)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationLogsResponse & WithLogSettings(LogSettingsT &&value)
ConversationLogsResponse & AddLogSettings(LogSettingsT &&value)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse()=default
const Aws::Vector< LogSettingsResponse > & GetLogSettings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue