AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConversationLogsResponse.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lex-models/model/LogSettingsResponse.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelBuildingService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse() = default;
38 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<LogSettingsResponse>& GetLogSettings() const { return m_logSettings; }
49 inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; }
50 template<typename LogSettingsT = Aws::Vector<LogSettingsResponse>>
51 void SetLogSettings(LogSettingsT&& value) { m_logSettingsHasBeenSet = true; m_logSettings = std::forward<LogSettingsT>(value); }
52 template<typename LogSettingsT = Aws::Vector<LogSettingsResponse>>
53 ConversationLogsResponse& WithLogSettings(LogSettingsT&& value) { SetLogSettings(std::forward<LogSettingsT>(value)); return *this;}
54 template<typename LogSettingsT = LogSettingsResponse>
55 ConversationLogsResponse& AddLogSettings(LogSettingsT&& value) { m_logSettingsHasBeenSet = true; m_logSettings.emplace_back(std::forward<LogSettingsT>(value)); return *this; }
57
59
63 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
64 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
65 template<typename IamRoleArnT = Aws::String>
66 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
67 template<typename IamRoleArnT = Aws::String>
68 ConversationLogsResponse& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
70 private:
71
73 bool m_logSettingsHasBeenSet = false;
74
75 Aws::String m_iamRoleArn;
76 bool m_iamRoleArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace LexModelBuildingService
81} // 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