AWS SDK for C++  1.9.107
AWS SDK for C++
ListResourcesForWebACLResult.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 Aws::Vector<Aws::String>& GetResourceArns() const{ return m_resourceArns; }
40 
44  inline void SetResourceArns(const Aws::Vector<Aws::String>& value) { m_resourceArns = value; }
45 
49  inline void SetResourceArns(Aws::Vector<Aws::String>&& value) { m_resourceArns = std::move(value); }
50 
54  inline ListResourcesForWebACLResult& WithResourceArns(const Aws::Vector<Aws::String>& value) { SetResourceArns(value); return *this;}
55 
59  inline ListResourcesForWebACLResult& WithResourceArns(Aws::Vector<Aws::String>&& value) { SetResourceArns(std::move(value)); return *this;}
60 
64  inline ListResourcesForWebACLResult& AddResourceArns(const Aws::String& value) { m_resourceArns.push_back(value); return *this; }
65 
69  inline ListResourcesForWebACLResult& AddResourceArns(Aws::String&& value) { m_resourceArns.push_back(std::move(value)); return *this; }
70 
74  inline ListResourcesForWebACLResult& AddResourceArns(const char* value) { m_resourceArns.push_back(value); return *this; }
75 
76  private:
77 
78  Aws::Vector<Aws::String> m_resourceArns;
79  };
80 
81 } // namespace Model
82 } // namespace WAFV2
83 } // namespace Aws
Aws::WAFV2::Model::ListResourcesForWebACLResult::WithResourceArns
ListResourcesForWebACLResult & WithResourceArns(Aws::Vector< Aws::String > &&value)
Definition: ListResourcesForWebACLResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
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
Aws::WAFV2::Model::ListResourcesForWebACLResult::AddResourceArns
ListResourcesForWebACLResult & AddResourceArns(const Aws::String &value)
Definition: ListResourcesForWebACLResult.h:64
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListResourcesForWebACLResult
Definition: ListResourcesForWebACLResult.h:29
Aws::WAFV2::Model::ListResourcesForWebACLResult::AddResourceArns
ListResourcesForWebACLResult & AddResourceArns(Aws::String &&value)
Definition: ListResourcesForWebACLResult.h:69
Aws::WAFV2::Model::ListResourcesForWebACLResult::WithResourceArns
ListResourcesForWebACLResult & WithResourceArns(const Aws::Vector< Aws::String > &value)
Definition: ListResourcesForWebACLResult.h:54
Aws::WAFV2::Model::ListResourcesForWebACLResult::SetResourceArns
void SetResourceArns(Aws::Vector< Aws::String > &&value)
Definition: ListResourcesForWebACLResult.h:49
AWSString.h
Aws::WAFV2::Model::ListResourcesForWebACLResult::operator=
ListResourcesForWebACLResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::ListResourcesForWebACLResult::SetResourceArns
void SetResourceArns(const Aws::Vector< Aws::String > &value)
Definition: ListResourcesForWebACLResult.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::ListResourcesForWebACLResult::AddResourceArns
ListResourcesForWebACLResult & AddResourceArns(const char *value)
Definition: ListResourcesForWebACLResult.h:74
Aws::WAFV2::Model::ListResourcesForWebACLResult::ListResourcesForWebACLResult
ListResourcesForWebACLResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ListResourcesForWebACLResult::ListResourcesForWebACLResult
ListResourcesForWebACLResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::ListResourcesForWebACLResult::GetResourceArns
const Aws::Vector< Aws::String > & GetResourceArns() const
Definition: ListResourcesForWebACLResult.h:39