AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
ConversationLogsRequest.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/LogSettingsRequest.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 ConversationLogsRequest() = default;
33 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<LogSettingsRequest>& GetLogSettings() const { return m_logSettings; }
43 inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; }
44 template <typename LogSettingsT = Aws::Vector<LogSettingsRequest>>
45 void SetLogSettings(LogSettingsT&& value) {
46 m_logSettingsHasBeenSet = true;
47 m_logSettings = std::forward<LogSettingsT>(value);
48 }
49 template <typename LogSettingsT = Aws::Vector<LogSettingsRequest>>
51 SetLogSettings(std::forward<LogSettingsT>(value));
52 return *this;
53 }
54 template <typename LogSettingsT = LogSettingsRequest>
55 ConversationLogsRequest& AddLogSettings(LogSettingsT&& value) {
56 m_logSettingsHasBeenSet = true;
57 m_logSettings.emplace_back(std::forward<LogSettingsT>(value));
58 return *this;
59 }
61
63
71 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
72 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
73 template <typename IamRoleArnT = Aws::String>
74 void SetIamRoleArn(IamRoleArnT&& value) {
75 m_iamRoleArnHasBeenSet = true;
76 m_iamRoleArn = std::forward<IamRoleArnT>(value);
77 }
78 template <typename IamRoleArnT = Aws::String>
80 SetIamRoleArn(std::forward<IamRoleArnT>(value));
81 return *this;
82 }
84 private:
86
87 Aws::String m_iamRoleArn;
88 bool m_logSettingsHasBeenSet = false;
89 bool m_iamRoleArnHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace LexModelBuildingService
94} // 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