AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogSettingsRequest.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/model/LogType.h>
9#include <aws/lex-models/model/Destination.h>
10#include <aws/core/utils/memory/stl/AWSString.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 LogSettingsRequest();
38 AWS_LEXMODELBUILDINGSERVICE_API LogSettingsRequest(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API LogSettingsRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const LogType& GetLogType() const{ return m_logType; }
49 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
50 inline void SetLogType(const LogType& value) { m_logTypeHasBeenSet = true; m_logType = value; }
51 inline void SetLogType(LogType&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); }
52 inline LogSettingsRequest& WithLogType(const LogType& value) { SetLogType(value); return *this;}
53 inline LogSettingsRequest& WithLogType(LogType&& value) { SetLogType(std::move(value)); return *this;}
55
57
61 inline const Destination& GetDestination() const{ return m_destination; }
62 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
63 inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
64 inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
65 inline LogSettingsRequest& WithDestination(const Destination& value) { SetDestination(value); return *this;}
66 inline LogSettingsRequest& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
68
70
75 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
76 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
77 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
78 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
79 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
80 inline LogSettingsRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
81 inline LogSettingsRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
82 inline LogSettingsRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
84
86
90 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
91 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
92 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
93 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
94 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
95 inline LogSettingsRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
96 inline LogSettingsRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
97 inline LogSettingsRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
99 private:
100
101 LogType m_logType;
102 bool m_logTypeHasBeenSet = false;
103
104 Destination m_destination;
105 bool m_destinationHasBeenSet = false;
106
107 Aws::String m_kmsKeyArn;
108 bool m_kmsKeyArnHasBeenSet = false;
109
110 Aws::String m_resourceArn;
111 bool m_resourceArnHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace LexModelBuildingService
116} // namespace Aws
LogSettingsRequest & WithDestination(Destination &&value)
LogSettingsRequest & WithDestination(const Destination &value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LogSettingsRequest & WithKmsKeyArn(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API LogSettingsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
LogSettingsRequest & WithResourceArn(const char *value)
LogSettingsRequest & WithKmsKeyArn(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API LogSettingsRequest()
AWS_LEXMODELBUILDINGSERVICE_API LogSettingsRequest(Aws::Utils::Json::JsonView jsonValue)
LogSettingsRequest & WithLogType(const LogType &value)
LogSettingsRequest & WithKmsKeyArn(const char *value)
LogSettingsRequest & WithResourceArn(Aws::String &&value)
LogSettingsRequest & WithResourceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue