AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLogSettings(const Aws::Vector<LogSettingsResponse>& value) { m_logSettingsHasBeenSet = true; m_logSettings = value; }
51 inline void SetLogSettings(Aws::Vector<LogSettingsResponse>&& value) { m_logSettingsHasBeenSet = true; m_logSettings = std::move(value); }
54 inline ConversationLogsResponse& AddLogSettings(const LogSettingsResponse& value) { m_logSettingsHasBeenSet = true; m_logSettings.push_back(value); return *this; }
55 inline ConversationLogsResponse& AddLogSettings(LogSettingsResponse&& value) { m_logSettingsHasBeenSet = true; m_logSettings.push_back(std::move(value)); return *this; }
57
59
63 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
64 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
65 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
66 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
67 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
68 inline ConversationLogsResponse& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
69 inline ConversationLogsResponse& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
70 inline ConversationLogsResponse& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
72 private:
73
75 bool m_logSettingsHasBeenSet = false;
76
77 Aws::String m_iamRoleArn;
78 bool m_iamRoleArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace LexModelBuildingService
83} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationLogsResponse & WithIamRoleArn(Aws::String &&value)
ConversationLogsResponse & WithIamRoleArn(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse()
ConversationLogsResponse & AddLogSettings(const LogSettingsResponse &value)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogSettings(const Aws::Vector< LogSettingsResponse > &value)
ConversationLogsResponse & WithIamRoleArn(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API ConversationLogsResponse(Aws::Utils::Json::JsonView jsonValue)
ConversationLogsResponse & AddLogSettings(LogSettingsResponse &&value)
ConversationLogsResponse & WithLogSettings(Aws::Vector< LogSettingsResponse > &&value)
ConversationLogsResponse & WithLogSettings(const Aws::Vector< LogSettingsResponse > &value)
const Aws::Vector< LogSettingsResponse > & GetLogSettings() const
void SetLogSettings(Aws::Vector< LogSettingsResponse > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue