AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLogSettings(const Aws::Vector<LogSettingsRequest>& value) { m_logSettingsHasBeenSet = true; m_logSettings = value; }
51 inline void SetLogSettings(Aws::Vector<LogSettingsRequest>&& value) { m_logSettingsHasBeenSet = true; m_logSettings = std::move(value); }
54 inline ConversationLogsRequest& AddLogSettings(const LogSettingsRequest& value) { m_logSettingsHasBeenSet = true; m_logSettings.push_back(value); return *this; }
55 inline ConversationLogsRequest& AddLogSettings(LogSettingsRequest&& value) { m_logSettingsHasBeenSet = true; m_logSettings.push_back(std::move(value)); return *this; }
57
59
67 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
68 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
69 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
70 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
71 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
72 inline ConversationLogsRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
73 inline ConversationLogsRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
74 inline ConversationLogsRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
76 private:
77
79 bool m_logSettingsHasBeenSet = false;
80
81 Aws::String m_iamRoleArn;
82 bool m_iamRoleArnHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace LexModelBuildingService
87} // namespace Aws
ConversationLogsRequest & WithIamRoleArn(Aws::String &&value)
void SetLogSettings(Aws::Vector< LogSettingsRequest > &&value)
ConversationLogsRequest & AddLogSettings(const LogSettingsRequest &value)
ConversationLogsRequest & WithLogSettings(const Aws::Vector< LogSettingsRequest > &value)
ConversationLogsRequest & WithIamRoleArn(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationLogsRequest & AddLogSettings(LogSettingsRequest &&value)
void SetLogSettings(const Aws::Vector< LogSettingsRequest > &value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationLogsRequest & WithLogSettings(Aws::Vector< LogSettingsRequest > &&value)
ConversationLogsRequest & WithIamRoleArn(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsRequest()
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