AWS SDK for C++  1.8.152
AWS SDK for C++
DescribeConditionalForwardersResult.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 DirectoryService
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<ConditionalForwarder>& GetConditionalForwarders() const{ return m_conditionalForwarders; }
46 
50  inline void SetConditionalForwarders(const Aws::Vector<ConditionalForwarder>& value) { m_conditionalForwarders = value; }
51 
55  inline void SetConditionalForwarders(Aws::Vector<ConditionalForwarder>&& value) { m_conditionalForwarders = std::move(value); }
56 
60  inline DescribeConditionalForwardersResult& WithConditionalForwarders(const Aws::Vector<ConditionalForwarder>& value) { SetConditionalForwarders(value); return *this;}
61 
65  inline DescribeConditionalForwardersResult& WithConditionalForwarders(Aws::Vector<ConditionalForwarder>&& value) { SetConditionalForwarders(std::move(value)); return *this;}
66 
70  inline DescribeConditionalForwardersResult& AddConditionalForwarders(const ConditionalForwarder& value) { m_conditionalForwarders.push_back(value); return *this; }
71 
75  inline DescribeConditionalForwardersResult& AddConditionalForwarders(ConditionalForwarder&& value) { m_conditionalForwarders.push_back(std::move(value)); return *this; }
76 
77  private:
78 
79  Aws::Vector<ConditionalForwarder> m_conditionalForwarders;
80  };
81 
82 } // namespace Model
83 } // namespace DirectoryService
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::SetConditionalForwarders
void SetConditionalForwarders(Aws::Vector< ConditionalForwarder > &&value)
Definition: DescribeConditionalForwardersResult.h:55
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::AddConditionalForwarders
DescribeConditionalForwardersResult & AddConditionalForwarders(const ConditionalForwarder &value)
Definition: DescribeConditionalForwardersResult.h:70
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::DescribeConditionalForwardersResult
DescribeConditionalForwardersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::DescribeConditionalForwardersResult
DescribeConditionalForwardersResult()
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::operator=
DescribeConditionalForwardersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DescribeConditionalForwardersResult
Definition: DescribeConditionalForwardersResult.h:35
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::SetConditionalForwarders
void SetConditionalForwarders(const Aws::Vector< ConditionalForwarder > &value)
Definition: DescribeConditionalForwardersResult.h:50
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::AddConditionalForwarders
DescribeConditionalForwardersResult & AddConditionalForwarders(ConditionalForwarder &&value)
Definition: DescribeConditionalForwardersResult.h:75
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::GetConditionalForwarders
const Aws::Vector< ConditionalForwarder > & GetConditionalForwarders() const
Definition: DescribeConditionalForwardersResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::WithConditionalForwarders
DescribeConditionalForwardersResult & WithConditionalForwarders(const Aws::Vector< ConditionalForwarder > &value)
Definition: DescribeConditionalForwardersResult.h:60
Aws::DirectoryService::Model::ConditionalForwarder
Definition: ConditionalForwarder.h:36
Aws
Definition: AccessManagementClient.h:15
ConditionalForwarder.h
Aws::DirectoryService::Model::DescribeConditionalForwardersResult::WithConditionalForwarders
DescribeConditionalForwardersResult & WithConditionalForwarders(Aws::Vector< ConditionalForwarder > &&value)
Definition: DescribeConditionalForwardersResult.h:65