AWS SDK for C++  1.9.129
AWS SDK for C++
ValidateSecurityProfileBehaviorsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <aws/iot/model/Behavior.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoT
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ValidateSecurityProfileBehaviors"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::Vector<Behavior>& GetBehaviors() const{ return m_behaviors; }
41 
46  inline bool BehaviorsHasBeenSet() const { return m_behaviorsHasBeenSet; }
47 
52  inline void SetBehaviors(const Aws::Vector<Behavior>& value) { m_behaviorsHasBeenSet = true; m_behaviors = value; }
53 
58  inline void SetBehaviors(Aws::Vector<Behavior>&& value) { m_behaviorsHasBeenSet = true; m_behaviors = std::move(value); }
59 
64  inline ValidateSecurityProfileBehaviorsRequest& WithBehaviors(const Aws::Vector<Behavior>& value) { SetBehaviors(value); return *this;}
65 
70  inline ValidateSecurityProfileBehaviorsRequest& WithBehaviors(Aws::Vector<Behavior>&& value) { SetBehaviors(std::move(value)); return *this;}
71 
76  inline ValidateSecurityProfileBehaviorsRequest& AddBehaviors(const Behavior& value) { m_behaviorsHasBeenSet = true; m_behaviors.push_back(value); return *this; }
77 
82  inline ValidateSecurityProfileBehaviorsRequest& AddBehaviors(Behavior&& value) { m_behaviorsHasBeenSet = true; m_behaviors.push_back(std::move(value)); return *this; }
83 
84  private:
85 
86  Aws::Vector<Behavior> m_behaviors;
87  bool m_behaviorsHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace IoT
92 } // namespace Aws
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::AddBehaviors
ValidateSecurityProfileBehaviorsRequest & AddBehaviors(Behavior &&value)
Definition: ValidateSecurityProfileBehaviorsRequest.h:82
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ValidateSecurityProfileBehaviorsRequest.h:31
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::SetBehaviors
void SetBehaviors(Aws::Vector< Behavior > &&value)
Definition: ValidateSecurityProfileBehaviorsRequest.h:58
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::SetBehaviors
void SetBehaviors(const Aws::Vector< Behavior > &value)
Definition: ValidateSecurityProfileBehaviorsRequest.h:52
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::ValidateSecurityProfileBehaviorsRequest
ValidateSecurityProfileBehaviorsRequest()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::WithBehaviors
ValidateSecurityProfileBehaviorsRequest & WithBehaviors(const Aws::Vector< Behavior > &value)
Definition: ValidateSecurityProfileBehaviorsRequest.h:64
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest
Definition: ValidateSecurityProfileBehaviorsRequest.h:23
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::BehaviorsHasBeenSet
bool BehaviorsHasBeenSet() const
Definition: ValidateSecurityProfileBehaviorsRequest.h:46
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::WithBehaviors
ValidateSecurityProfileBehaviorsRequest & WithBehaviors(Aws::Vector< Behavior > &&value)
Definition: ValidateSecurityProfileBehaviorsRequest.h:70
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::GetBehaviors
const Aws::Vector< Behavior > & GetBehaviors() const
Definition: ValidateSecurityProfileBehaviorsRequest.h:40
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ValidateSecurityProfileBehaviorsRequest::AddBehaviors
ValidateSecurityProfileBehaviorsRequest & AddBehaviors(const Behavior &value)
Definition: ValidateSecurityProfileBehaviorsRequest.h:76
Behavior.h
Aws::IoT::Model::Behavior
Definition: Behavior.h:34
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTRequest.h
IoT_EXPORTS.h