AWS SDK for C++  1.9.156
AWS SDK for C++
DescribeEventTopicsResult.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 {
34  {
35  public:
39 
40 
45  inline const Aws::Vector<EventTopic>& GetEventTopics() const{ return m_eventTopics; }
46 
51  inline void SetEventTopics(const Aws::Vector<EventTopic>& value) { m_eventTopics = value; }
52 
57  inline void SetEventTopics(Aws::Vector<EventTopic>&& value) { m_eventTopics = std::move(value); }
58 
63  inline DescribeEventTopicsResult& WithEventTopics(const Aws::Vector<EventTopic>& value) { SetEventTopics(value); return *this;}
64 
69  inline DescribeEventTopicsResult& WithEventTopics(Aws::Vector<EventTopic>&& value) { SetEventTopics(std::move(value)); return *this;}
70 
75  inline DescribeEventTopicsResult& AddEventTopics(const EventTopic& value) { m_eventTopics.push_back(value); return *this; }
76 
81  inline DescribeEventTopicsResult& AddEventTopics(EventTopic&& value) { m_eventTopics.push_back(std::move(value)); return *this; }
82 
83  private:
84 
85  Aws::Vector<EventTopic> m_eventTopics;
86  };
87 
88 } // namespace Model
89 } // namespace DirectoryService
90 } // namespace Aws
Aws::DirectoryService::Model::DescribeEventTopicsResult
Definition: DescribeEventTopicsResult.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DescribeEventTopicsResult::WithEventTopics
DescribeEventTopicsResult & WithEventTopics(const Aws::Vector< EventTopic > &value)
Definition: DescribeEventTopicsResult.h:63
DirectoryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::DescribeEventTopicsResult::WithEventTopics
DescribeEventTopicsResult & WithEventTopics(Aws::Vector< EventTopic > &&value)
Definition: DescribeEventTopicsResult.h:69
Aws::DirectoryService::Model::DescribeEventTopicsResult::operator=
DescribeEventTopicsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::DirectoryService::Model::EventTopic
Definition: EventTopic.h:35
Aws::DirectoryService::Model::DescribeEventTopicsResult::SetEventTopics
void SetEventTopics(const Aws::Vector< EventTopic > &value)
Definition: DescribeEventTopicsResult.h:51
Aws::DirectoryService::Model::DescribeEventTopicsResult::DescribeEventTopicsResult
DescribeEventTopicsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DescribeEventTopicsResult::SetEventTopics
void SetEventTopics(Aws::Vector< EventTopic > &&value)
Definition: DescribeEventTopicsResult.h:57
EventTopic.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DescribeEventTopicsResult::GetEventTopics
const Aws::Vector< EventTopic > & GetEventTopics() const
Definition: DescribeEventTopicsResult.h:45
Aws::DirectoryService::Model::DescribeEventTopicsResult::AddEventTopics
DescribeEventTopicsResult & AddEventTopics(EventTopic &&value)
Definition: DescribeEventTopicsResult.h:81
Aws::DirectoryService::Model::DescribeEventTopicsResult::DescribeEventTopicsResult
DescribeEventTopicsResult()
Aws::DirectoryService::Model::DescribeEventTopicsResult::AddEventTopics
DescribeEventTopicsResult & AddEventTopics(const EventTopic &value)
Definition: DescribeEventTopicsResult.h:75