AWS SDK for C++  1.9.108
AWS SDK for C++
PutLoggingConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace WAFV2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
39 
43  inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfiguration = value; }
44 
48  inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfiguration = std::move(value); }
49 
53  inline PutLoggingConfigurationResult& WithLoggingConfiguration(const LoggingConfiguration& value) { SetLoggingConfiguration(value); return *this;}
54 
58  inline PutLoggingConfigurationResult& WithLoggingConfiguration(LoggingConfiguration&& value) { SetLoggingConfiguration(std::move(value)); return *this;}
59 
60  private:
61 
62  LoggingConfiguration m_loggingConfiguration;
63  };
64 
65 } // namespace Model
66 } // namespace WAFV2
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::PutLoggingConfigurationResult
Definition: PutLoggingConfigurationResult.h:28
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::PutLoggingConfigurationResult::WithLoggingConfiguration
PutLoggingConfigurationResult & WithLoggingConfiguration(const LoggingConfiguration &value)
Definition: PutLoggingConfigurationResult.h:53
Aws::WAFV2::Model::PutLoggingConfigurationResult::GetLoggingConfiguration
const LoggingConfiguration & GetLoggingConfiguration() const
Definition: PutLoggingConfigurationResult.h:38
WAFV2_EXPORTS.h
Aws::WAFV2::Model::PutLoggingConfigurationResult::WithLoggingConfiguration
PutLoggingConfigurationResult & WithLoggingConfiguration(LoggingConfiguration &&value)
Definition: PutLoggingConfigurationResult.h:58
Aws::WAFV2::Model::PutLoggingConfigurationResult::PutLoggingConfigurationResult
PutLoggingConfigurationResult()
LoggingConfiguration.h
Aws::WAFV2::Model::PutLoggingConfigurationResult::PutLoggingConfigurationResult
PutLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::LoggingConfiguration
Definition: LoggingConfiguration.h:39
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::PutLoggingConfigurationResult::SetLoggingConfiguration
void SetLoggingConfiguration(LoggingConfiguration &&value)
Definition: PutLoggingConfigurationResult.h:48
Aws::WAFV2::Model::PutLoggingConfigurationResult::SetLoggingConfiguration
void SetLoggingConfiguration(const LoggingConfiguration &value)
Definition: PutLoggingConfigurationResult.h:43
Aws::WAFV2::Model::PutLoggingConfigurationResult::operator=
PutLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)