AWS SDK for C++  1.9.108
AWS SDK for C++
ListLoggingConfigurationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace WAFV2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<LoggingConfiguration>& GetLoggingConfigurations() const{ return m_loggingConfigurations; }
41 
45  inline void SetLoggingConfigurations(const Aws::Vector<LoggingConfiguration>& value) { m_loggingConfigurations = value; }
46 
50  inline void SetLoggingConfigurations(Aws::Vector<LoggingConfiguration>&& value) { m_loggingConfigurations = std::move(value); }
51 
55  inline ListLoggingConfigurationsResult& WithLoggingConfigurations(const Aws::Vector<LoggingConfiguration>& value) { SetLoggingConfigurations(value); return *this;}
56 
60  inline ListLoggingConfigurationsResult& WithLoggingConfigurations(Aws::Vector<LoggingConfiguration>&& value) { SetLoggingConfigurations(std::move(value)); return *this;}
61 
65  inline ListLoggingConfigurationsResult& AddLoggingConfigurations(const LoggingConfiguration& value) { m_loggingConfigurations.push_back(value); return *this; }
66 
70  inline ListLoggingConfigurationsResult& AddLoggingConfigurations(LoggingConfiguration&& value) { m_loggingConfigurations.push_back(std::move(value)); return *this; }
71 
72 
80  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
81 
89  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
90 
98  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
99 
107  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
108 
116  inline ListLoggingConfigurationsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
117 
125  inline ListLoggingConfigurationsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
126 
134  inline ListLoggingConfigurationsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<LoggingConfiguration> m_loggingConfigurations;
139 
140  Aws::String m_nextMarker;
141  };
142 
143 } // namespace Model
144 } // namespace WAFV2
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::ListLoggingConfigurationsResult::WithNextMarker
ListLoggingConfigurationsResult & WithNextMarker(Aws::String &&value)
Definition: ListLoggingConfigurationsResult.h:125
Aws::WAFV2::Model::ListLoggingConfigurationsResult::SetLoggingConfigurations
void SetLoggingConfigurations(const Aws::Vector< LoggingConfiguration > &value)
Definition: ListLoggingConfigurationsResult.h:45
Aws::WAFV2::Model::ListLoggingConfigurationsResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListLoggingConfigurationsResult.h:98
Aws::WAFV2::Model::ListLoggingConfigurationsResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListLoggingConfigurationsResult.h:89
Aws::WAFV2::Model::ListLoggingConfigurationsResult::WithNextMarker
ListLoggingConfigurationsResult & WithNextMarker(const Aws::String &value)
Definition: ListLoggingConfigurationsResult.h:116
Aws::WAFV2::Model::ListLoggingConfigurationsResult::AddLoggingConfigurations
ListLoggingConfigurationsResult & AddLoggingConfigurations(const LoggingConfiguration &value)
Definition: ListLoggingConfigurationsResult.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
AWSVector.h
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListLoggingConfigurationsResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListLoggingConfigurationsResult.h:80
Aws::WAFV2::Model::ListLoggingConfigurationsResult
Definition: ListLoggingConfigurationsResult.h:30
Aws::WAFV2::Model::ListLoggingConfigurationsResult::AddLoggingConfigurations
ListLoggingConfigurationsResult & AddLoggingConfigurations(LoggingConfiguration &&value)
Definition: ListLoggingConfigurationsResult.h:70
Aws::WAFV2::Model::ListLoggingConfigurationsResult::ListLoggingConfigurationsResult
ListLoggingConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::ListLoggingConfigurationsResult::operator=
ListLoggingConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
LoggingConfiguration.h
Aws::WAFV2::Model::ListLoggingConfigurationsResult::ListLoggingConfigurationsResult
ListLoggingConfigurationsResult()
Aws::WAFV2::Model::LoggingConfiguration
Definition: LoggingConfiguration.h:39
Aws::WAFV2::Model::ListLoggingConfigurationsResult::WithLoggingConfigurations
ListLoggingConfigurationsResult & WithLoggingConfigurations(const Aws::Vector< LoggingConfiguration > &value)
Definition: ListLoggingConfigurationsResult.h:55
Aws::WAFV2::Model::ListLoggingConfigurationsResult::SetLoggingConfigurations
void SetLoggingConfigurations(Aws::Vector< LoggingConfiguration > &&value)
Definition: ListLoggingConfigurationsResult.h:50
Aws::WAFV2::Model::ListLoggingConfigurationsResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListLoggingConfigurationsResult.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ListLoggingConfigurationsResult::WithLoggingConfigurations
ListLoggingConfigurationsResult & WithLoggingConfigurations(Aws::Vector< LoggingConfiguration > &&value)
Definition: ListLoggingConfigurationsResult.h:60
Aws::WAFV2::Model::ListLoggingConfigurationsResult::GetLoggingConfigurations
const Aws::Vector< LoggingConfiguration > & GetLoggingConfigurations() const
Definition: ListLoggingConfigurationsResult.h:40
Aws::WAFV2::Model::ListLoggingConfigurationsResult::WithNextMarker
ListLoggingConfigurationsResult & WithNextMarker(const char *value)
Definition: ListLoggingConfigurationsResult.h:134