AWS SDK for C++  1.9.108
AWS SDK for C++
GetIPSetResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace WAFV2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const IPSet& GetIPSet() const{ return m_iPSet; }
40 
44  inline void SetIPSet(const IPSet& value) { m_iPSet = value; }
45 
49  inline void SetIPSet(IPSet&& value) { m_iPSet = std::move(value); }
50 
54  inline GetIPSetResult& WithIPSet(const IPSet& value) { SetIPSet(value); return *this;}
55 
59  inline GetIPSetResult& WithIPSet(IPSet&& value) { SetIPSet(std::move(value)); return *this;}
60 
61 
72  inline const Aws::String& GetLockToken() const{ return m_lockToken; }
73 
84  inline void SetLockToken(const Aws::String& value) { m_lockToken = value; }
85 
96  inline void SetLockToken(Aws::String&& value) { m_lockToken = std::move(value); }
97 
108  inline void SetLockToken(const char* value) { m_lockToken.assign(value); }
109 
120  inline GetIPSetResult& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
121 
132  inline GetIPSetResult& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
133 
144  inline GetIPSetResult& WithLockToken(const char* value) { SetLockToken(value); return *this;}
145 
146  private:
147 
148  IPSet m_iPSet;
149 
150  Aws::String m_lockToken;
151  };
152 
153 } // namespace Model
154 } // namespace WAFV2
155 } // namespace Aws
Aws::WAFV2::Model::GetIPSetResult::GetIPSet
const IPSet & GetIPSet() const
Definition: GetIPSetResult.h:39
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::GetIPSetResult::SetIPSet
void SetIPSet(IPSet &&value)
Definition: GetIPSetResult.h:49
Aws::WAFV2::Model::GetIPSetResult::GetLockToken
const Aws::String & GetLockToken() const
Definition: GetIPSetResult.h:72
Aws::WAFV2::Model::GetIPSetResult::GetIPSetResult
GetIPSetResult()
Aws::WAFV2::Model::GetIPSetResult::SetIPSet
void SetIPSet(const IPSet &value)
Definition: GetIPSetResult.h:44
Aws::WAFV2::Model::GetIPSetResult::SetLockToken
void SetLockToken(const char *value)
Definition: GetIPSetResult.h:108
Aws::WAFV2::Model::GetIPSetResult::WithLockToken
GetIPSetResult & WithLockToken(const Aws::String &value)
Definition: GetIPSetResult.h:120
Aws::WAFV2::Model::GetIPSetResult::GetIPSetResult
GetIPSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::GetIPSetResult::SetLockToken
void SetLockToken(Aws::String &&value)
Definition: GetIPSetResult.h:96
WAFV2_EXPORTS.h
Aws::WAFV2::Model::GetIPSetResult::operator=
GetIPSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::GetIPSetResult::SetLockToken
void SetLockToken(const Aws::String &value)
Definition: GetIPSetResult.h:84
Aws::WAFV2::Model::GetIPSetResult::WithLockToken
GetIPSetResult & WithLockToken(const char *value)
Definition: GetIPSetResult.h:144
Aws::WAFV2::Model::GetIPSetResult
Definition: GetIPSetResult.h:29
Aws::WAFV2::Model::IPSet
Definition: IPSet.h:41
AWSString.h
Aws::WAFV2::Model::GetIPSetResult::WithLockToken
GetIPSetResult & WithLockToken(Aws::String &&value)
Definition: GetIPSetResult.h:132
Aws::WAFV2::Model::GetIPSetResult::WithIPSet
GetIPSetResult & WithIPSet(const IPSet &value)
Definition: GetIPSetResult.h:54
Aws::WAFV2::Model::GetIPSetResult::WithIPSet
GetIPSetResult & WithIPSet(IPSet &&value)
Definition: GetIPSetResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IPSet.h