AWS SDK for C++  1.9.107
AWS SDK for C++
CreateIPSetResult.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 
41  inline const IPSetSummary& GetSummary() const{ return m_summary; }
42 
49  inline void SetSummary(const IPSetSummary& value) { m_summary = value; }
50 
57  inline void SetSummary(IPSetSummary&& value) { m_summary = std::move(value); }
58 
65  inline CreateIPSetResult& WithSummary(const IPSetSummary& value) { SetSummary(value); return *this;}
66 
73  inline CreateIPSetResult& WithSummary(IPSetSummary&& value) { SetSummary(std::move(value)); return *this;}
74 
75  private:
76 
77  IPSetSummary m_summary;
78  };
79 
80 } // namespace Model
81 } // namespace WAFV2
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::CreateIPSetResult::CreateIPSetResult
CreateIPSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::CreateIPSetResult::operator=
CreateIPSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::CreateIPSetResult::WithSummary
CreateIPSetResult & WithSummary(IPSetSummary &&value)
Definition: CreateIPSetResult.h:73
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::CreateIPSetResult::CreateIPSetResult
CreateIPSetResult()
WAFV2_EXPORTS.h
Aws::WAFV2::Model::CreateIPSetResult::GetSummary
const IPSetSummary & GetSummary() const
Definition: CreateIPSetResult.h:41
Aws::WAFV2::Model::CreateIPSetResult::SetSummary
void SetSummary(IPSetSummary &&value)
Definition: CreateIPSetResult.h:57
Aws::WAFV2::Model::CreateIPSetResult
Definition: CreateIPSetResult.h:28
Aws::WAFV2::Model::CreateIPSetResult::SetSummary
void SetSummary(const IPSetSummary &value)
Definition: CreateIPSetResult.h:49
Aws::WAFV2::Model::IPSetSummary
Definition: IPSetSummary.h:36
IPSetSummary.h
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::CreateIPSetResult::WithSummary
CreateIPSetResult & WithSummary(const IPSetSummary &value)
Definition: CreateIPSetResult.h:65