AWS SDK for C++  1.9.106
AWS SDK for C++
LogSettingsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace LexModelBuildingService
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const LogType& GetLogType() const{ return m_logType; }
46 
50  inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
51 
55  inline void SetLogType(const LogType& value) { m_logTypeHasBeenSet = true; m_logType = value; }
56 
60  inline void SetLogType(LogType&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); }
61 
65  inline LogSettingsResponse& WithLogType(const LogType& value) { SetLogType(value); return *this;}
66 
70  inline LogSettingsResponse& WithLogType(LogType&& value) { SetLogType(std::move(value)); return *this;}
71 
72 
76  inline const Destination& GetDestination() const{ return m_destination; }
77 
81  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
82 
86  inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
87 
91  inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
92 
96  inline LogSettingsResponse& WithDestination(const Destination& value) { SetDestination(value); return *this;}
97 
101  inline LogSettingsResponse& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
102 
103 
108  inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
109 
114  inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
115 
120  inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
121 
126  inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
127 
132  inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
133 
138  inline LogSettingsResponse& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
139 
144  inline LogSettingsResponse& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
145 
150  inline LogSettingsResponse& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
151 
152 
157  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
158 
163  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
164 
169  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
170 
175  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
176 
181  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
182 
187  inline LogSettingsResponse& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
188 
193  inline LogSettingsResponse& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
194 
199  inline LogSettingsResponse& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
200 
201 
207  inline const Aws::String& GetResourcePrefix() const{ return m_resourcePrefix; }
208 
214  inline bool ResourcePrefixHasBeenSet() const { return m_resourcePrefixHasBeenSet; }
215 
221  inline void SetResourcePrefix(const Aws::String& value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix = value; }
222 
228  inline void SetResourcePrefix(Aws::String&& value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix = std::move(value); }
229 
235  inline void SetResourcePrefix(const char* value) { m_resourcePrefixHasBeenSet = true; m_resourcePrefix.assign(value); }
236 
242  inline LogSettingsResponse& WithResourcePrefix(const Aws::String& value) { SetResourcePrefix(value); return *this;}
243 
249  inline LogSettingsResponse& WithResourcePrefix(Aws::String&& value) { SetResourcePrefix(std::move(value)); return *this;}
250 
256  inline LogSettingsResponse& WithResourcePrefix(const char* value) { SetResourcePrefix(value); return *this;}
257 
258  private:
259 
260  LogType m_logType;
261  bool m_logTypeHasBeenSet;
262 
263  Destination m_destination;
264  bool m_destinationHasBeenSet;
265 
266  Aws::String m_kmsKeyArn;
267  bool m_kmsKeyArnHasBeenSet;
268 
269  Aws::String m_resourceArn;
270  bool m_resourceArnHasBeenSet;
271 
272  Aws::String m_resourcePrefix;
273  bool m_resourcePrefixHasBeenSet;
274  };
275 
276 } // namespace Model
277 } // namespace LexModelBuildingService
278 } // namespace Aws
Aws::LexModelBuildingService::Model::LogSettingsResponse::GetResourcePrefix
const Aws::String & GetResourcePrefix() const
Definition: LogSettingsResponse.h:207
Aws::LexModelBuildingService::Model::LogSettingsResponse::KmsKeyArnHasBeenSet
bool KmsKeyArnHasBeenSet() const
Definition: LogSettingsResponse.h:114
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetResourcePrefix
void SetResourcePrefix(const char *value)
Definition: LogSettingsResponse.h:235
Aws::LexModelBuildingService::Model::LogSettingsResponse::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: LogSettingsResponse.h:157
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithDestination
LogSettingsResponse & WithDestination(Destination &&value)
Definition: LogSettingsResponse.h:101
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetKmsKeyArn
void SetKmsKeyArn(const char *value)
Definition: LogSettingsResponse.h:132
Aws::LexModelBuildingService::Model::LogSettingsResponse::operator=
LogSettingsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::LexModelBuildingService::Model::LogSettingsResponse::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetResourcePrefix
void SetResourcePrefix(const Aws::String &value)
Definition: LogSettingsResponse.h:221
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: LogSettingsResponse.h:169
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithResourcePrefix
LogSettingsResponse & WithResourcePrefix(const Aws::String &value)
Definition: LogSettingsResponse.h:242
Aws::LexModelBuildingService::Model::LogSettingsResponse::LogTypeHasBeenSet
bool LogTypeHasBeenSet() const
Definition: LogSettingsResponse.h:50
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithKmsKeyArn
LogSettingsResponse & WithKmsKeyArn(Aws::String &&value)
Definition: LogSettingsResponse.h:144
Aws::LexModelBuildingService::Model::LogSettingsResponse::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: LogSettingsResponse.h:163
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithLogType
LogSettingsResponse & WithLogType(const LogType &value)
Definition: LogSettingsResponse.h:65
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: LogSettingsResponse.h:175
Aws::LexModelBuildingService::Model::LogSettingsResponse::GetKmsKeyArn
const Aws::String & GetKmsKeyArn() const
Definition: LogSettingsResponse.h:108
Destination.h
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetKmsKeyArn
void SetKmsKeyArn(const Aws::String &value)
Definition: LogSettingsResponse.h:120
Aws::LexModelBuildingService::Model::LogSettingsResponse::ResourcePrefixHasBeenSet
bool ResourcePrefixHasBeenSet() const
Definition: LogSettingsResponse.h:214
Aws::LexModelBuildingService::Model::LogType
LogType
Definition: LogType.h:17
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetLogType
void SetLogType(LogType &&value)
Definition: LogSettingsResponse.h:60
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetKmsKeyArn
void SetKmsKeyArn(Aws::String &&value)
Definition: LogSettingsResponse.h:126
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetResourceArn
void SetResourceArn(const char *value)
Definition: LogSettingsResponse.h:181
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithKmsKeyArn
LogSettingsResponse & WithKmsKeyArn(const char *value)
Definition: LogSettingsResponse.h:150
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithLogType
LogSettingsResponse & WithLogType(LogType &&value)
Definition: LogSettingsResponse.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithDestination
LogSettingsResponse & WithDestination(const Destination &value)
Definition: LogSettingsResponse.h:96
LogType.h
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::LogSettingsResponse::GetLogType
const LogType & GetLogType() const
Definition: LogSettingsResponse.h:45
Aws::LexModelBuildingService::Model::LogSettingsResponse::GetDestination
const Destination & GetDestination() const
Definition: LogSettingsResponse.h:76
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithResourceArn
LogSettingsResponse & WithResourceArn(Aws::String &&value)
Definition: LogSettingsResponse.h:193
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetDestination
void SetDestination(const Destination &value)
Definition: LogSettingsResponse.h:86
Aws::LexModelBuildingService::Model::LogSettingsResponse::LogSettingsResponse
LogSettingsResponse()
Aws::LexModelBuildingService::Model::LogSettingsResponse
Definition: LogSettingsResponse.h:34
Aws::LexModelBuildingService::Model::LogSettingsResponse::LogSettingsResponse
LogSettingsResponse(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithResourceArn
LogSettingsResponse & WithResourceArn(const char *value)
Definition: LogSettingsResponse.h:199
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithKmsKeyArn
LogSettingsResponse & WithKmsKeyArn(const Aws::String &value)
Definition: LogSettingsResponse.h:138
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetLogType
void SetLogType(const LogType &value)
Definition: LogSettingsResponse.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithResourcePrefix
LogSettingsResponse & WithResourcePrefix(const char *value)
Definition: LogSettingsResponse.h:256
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithResourcePrefix
LogSettingsResponse & WithResourcePrefix(Aws::String &&value)
Definition: LogSettingsResponse.h:249
Aws::LexModelBuildingService::Model::Destination
Destination
Definition: Destination.h:17
Aws::LexModelBuildingService::Model::LogSettingsResponse::WithResourceArn
LogSettingsResponse & WithResourceArn(const Aws::String &value)
Definition: LogSettingsResponse.h:187
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetDestination
void SetDestination(Destination &&value)
Definition: LogSettingsResponse.h:91
Aws::LexModelBuildingService::Model::LogSettingsResponse::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: LogSettingsResponse.h:81
Aws::LexModelBuildingService::Model::LogSettingsResponse::SetResourcePrefix
void SetResourcePrefix(Aws::String &&value)
Definition: LogSettingsResponse.h:228