AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogSettingsResponse.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
34 {
35 public:
36 AWS_LEXMODELBUILDINGSERVICE_API LogSettingsResponse();
37 AWS_LEXMODELBUILDINGSERVICE_API LogSettingsResponse(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELBUILDINGSERVICE_API LogSettingsResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const LogType& GetLogType() const{ return m_logType; }
47 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
48 inline void SetLogType(const LogType& value) { m_logTypeHasBeenSet = true; m_logType = value; }
49 inline void SetLogType(LogType&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); }
50 inline LogSettingsResponse& WithLogType(const LogType& value) { SetLogType(value); return *this;}
51 inline LogSettingsResponse& WithLogType(LogType&& value) { SetLogType(std::move(value)); return *this;}
53
55
58 inline const Destination& GetDestination() const{ return m_destination; }
59 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
60 inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
61 inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
62 inline LogSettingsResponse& WithDestination(const Destination& value) { SetDestination(value); return *this;}
63 inline LogSettingsResponse& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
65
67
71 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
72 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
73 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
74 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
75 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
76 inline LogSettingsResponse& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
77 inline LogSettingsResponse& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
78 inline LogSettingsResponse& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
80
82
86 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
87 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
88 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
89 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
90 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
91 inline LogSettingsResponse& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
92 inline LogSettingsResponse& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
93 inline LogSettingsResponse& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
95
97
102 inline const Aws::String& GetResourcePrefix() const{ return m_resourcePrefix; }
103 inline bool ResourcePrefixHasBeenSet() const { return m_resourcePrefixHasBeenSet; }
104 inline void SetResourcePrefix(const Aws::String& value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix = value; }
105 inline void SetResourcePrefix(Aws::String&& value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix = std::move(value); }
106 inline void SetResourcePrefix(const char* value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix.assign(value); }
107 inline LogSettingsResponse& WithResourcePrefix(const Aws::String& value) { SetResourcePrefix(value); return *this;}
108 inline LogSettingsResponse& WithResourcePrefix(Aws::String&& value) { SetResourcePrefix(std::move(value)); return *this;}
109 inline LogSettingsResponse& WithResourcePrefix(const char* value) { SetResourcePrefix(value); return *this;}
111 private:
112
113 LogType m_logType;
114 bool m_logTypeHasBeenSet = false;
115
116 Destination m_destination;
117 bool m_destinationHasBeenSet = false;
118
119 Aws::String m_kmsKeyArn;
120 bool m_kmsKeyArnHasBeenSet = false;
121
122 Aws::String m_resourceArn;
123 bool m_resourceArnHasBeenSet = false;
124
125 Aws::String m_resourcePrefix;
126 bool m_resourcePrefixHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace LexModelBuildingService
131} // namespace Aws
LogSettingsResponse & WithResourceArn(const char *value)
LogSettingsResponse & WithKmsKeyArn(const Aws::String &value)
LogSettingsResponse & WithResourceArn(Aws::String &&value)
LogSettingsResponse & WithResourceArn(const Aws::String &value)
LogSettingsResponse & WithDestination(const Destination &value)
AWS_LEXMODELBUILDINGSERVICE_API LogSettingsResponse()
LogSettingsResponse & WithResourcePrefix(const Aws::String &value)
LogSettingsResponse & WithKmsKeyArn(Aws::String &&value)
LogSettingsResponse & WithLogType(const LogType &value)
LogSettingsResponse & WithKmsKeyArn(const char *value)
LogSettingsResponse & WithResourcePrefix(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LogSettingsResponse & WithResourcePrefix(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API LogSettingsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API LogSettingsResponse(Aws::Utils::Json::JsonView jsonValue)
LogSettingsResponse & WithDestination(Destination &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue