AWS SDK for C++  1.9.109
AWS SDK for C++
BatchEnableStandardsResult.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 SecurityHub
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<StandardsSubscription>& GetStandardsSubscriptions() const{ return m_standardsSubscriptions; }
40 
44  inline void SetStandardsSubscriptions(const Aws::Vector<StandardsSubscription>& value) { m_standardsSubscriptions = value; }
45 
49  inline void SetStandardsSubscriptions(Aws::Vector<StandardsSubscription>&& value) { m_standardsSubscriptions = std::move(value); }
50 
54  inline BatchEnableStandardsResult& WithStandardsSubscriptions(const Aws::Vector<StandardsSubscription>& value) { SetStandardsSubscriptions(value); return *this;}
55 
59  inline BatchEnableStandardsResult& WithStandardsSubscriptions(Aws::Vector<StandardsSubscription>&& value) { SetStandardsSubscriptions(std::move(value)); return *this;}
60 
64  inline BatchEnableStandardsResult& AddStandardsSubscriptions(const StandardsSubscription& value) { m_standardsSubscriptions.push_back(value); return *this; }
65 
69  inline BatchEnableStandardsResult& AddStandardsSubscriptions(StandardsSubscription&& value) { m_standardsSubscriptions.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<StandardsSubscription> m_standardsSubscriptions;
74  };
75 
76 } // namespace Model
77 } // namespace SecurityHub
78 } // namespace Aws
Aws::SecurityHub::Model::BatchEnableStandardsResult::AddStandardsSubscriptions
BatchEnableStandardsResult & AddStandardsSubscriptions(const StandardsSubscription &value)
Definition: BatchEnableStandardsResult.h:64
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
StandardsSubscription.h
Aws::SecurityHub::Model::BatchEnableStandardsResult::SetStandardsSubscriptions
void SetStandardsSubscriptions(Aws::Vector< StandardsSubscription > &&value)
Definition: BatchEnableStandardsResult.h:49
Aws::SecurityHub::Model::BatchEnableStandardsResult::WithStandardsSubscriptions
BatchEnableStandardsResult & WithStandardsSubscriptions(Aws::Vector< StandardsSubscription > &&value)
Definition: BatchEnableStandardsResult.h:59
Aws::SecurityHub::Model::BatchEnableStandardsResult::WithStandardsSubscriptions
BatchEnableStandardsResult & WithStandardsSubscriptions(const Aws::Vector< StandardsSubscription > &value)
Definition: BatchEnableStandardsResult.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SecurityHub::Model::BatchEnableStandardsResult::BatchEnableStandardsResult
BatchEnableStandardsResult()
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::BatchEnableStandardsResult::SetStandardsSubscriptions
void SetStandardsSubscriptions(const Aws::Vector< StandardsSubscription > &value)
Definition: BatchEnableStandardsResult.h:44
Aws::SecurityHub::Model::BatchEnableStandardsResult::BatchEnableStandardsResult
BatchEnableStandardsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::BatchEnableStandardsResult::AddStandardsSubscriptions
BatchEnableStandardsResult & AddStandardsSubscriptions(StandardsSubscription &&value)
Definition: BatchEnableStandardsResult.h:69
Aws::SecurityHub::Model::BatchEnableStandardsResult::GetStandardsSubscriptions
const Aws::Vector< StandardsSubscription > & GetStandardsSubscriptions() const
Definition: BatchEnableStandardsResult.h:39
Aws
Definition: AccessManagementClient.h:15
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::BatchEnableStandardsResult::operator=
BatchEnableStandardsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::StandardsSubscription
Definition: StandardsSubscription.h:35
Aws::SecurityHub::Model::BatchEnableStandardsResult
Definition: BatchEnableStandardsResult.h:29