AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConversationLogsRequest.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/LogSettingsRequest.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 ConversationLogsRequest() = default;
38 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<LogSettingsRequest>& GetLogSettings() const { return m_logSettings; }
49 inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; }
50 template<typename LogSettingsT = Aws::Vector<LogSettingsRequest>>
51 void SetLogSettings(LogSettingsT&& value) { m_logSettingsHasBeenSet = true; m_logSettings = std::forward<LogSettingsT>(value); }
52 template<typename LogSettingsT = Aws::Vector<LogSettingsRequest>>
53 ConversationLogsRequest& WithLogSettings(LogSettingsT&& value) { SetLogSettings(std::forward<LogSettingsT>(value)); return *this;}
54 template<typename LogSettingsT = LogSettingsRequest>
55 ConversationLogsRequest& AddLogSettings(LogSettingsT&& value) { m_logSettingsHasBeenSet = true; m_logSettings.emplace_back(std::forward<LogSettingsT>(value)); return *this; }
57
59
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) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
71 template<typename IamRoleArnT = Aws::String>
72 ConversationLogsRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
74 private:
75
77 bool m_logSettingsHasBeenSet = false;
78
79 Aws::String m_iamRoleArn;
80 bool m_iamRoleArnHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace LexModelBuildingService
85} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationLogsRequest & AddLogSettings(LogSettingsT &&value)
ConversationLogsRequest & WithLogSettings(LogSettingsT &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest(Aws::Utils::Json::JsonView jsonValue)
ConversationLogsRequest & WithIamRoleArn(IamRoleArnT &&value)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest()=default
const Aws::Vector< LogSettingsRequest > & 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