AWS SDK for C++  1.9.124
AWS SDK for C++
DetachSecurityProfileRequest.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 <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoT
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DetachSecurityProfile"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; }
45 
49  inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
50 
54  inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = value; }
55 
59  inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::move(value); }
60 
64  inline void SetSecurityProfileName(const char* value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName.assign(value); }
65 
69  inline DetachSecurityProfileRequest& WithSecurityProfileName(const Aws::String& value) { SetSecurityProfileName(value); return *this;}
70 
74  inline DetachSecurityProfileRequest& WithSecurityProfileName(Aws::String&& value) { SetSecurityProfileName(std::move(value)); return *this;}
75 
79  inline DetachSecurityProfileRequest& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
80 
81 
85  inline const Aws::String& GetSecurityProfileTargetArn() const{ return m_securityProfileTargetArn; }
86 
90  inline bool SecurityProfileTargetArnHasBeenSet() const { return m_securityProfileTargetArnHasBeenSet; }
91 
95  inline void SetSecurityProfileTargetArn(const Aws::String& value) { m_securityProfileTargetArnHasBeenSet = true; m_securityProfileTargetArn = value; }
96 
100  inline void SetSecurityProfileTargetArn(Aws::String&& value) { m_securityProfileTargetArnHasBeenSet = true; m_securityProfileTargetArn = std::move(value); }
101 
105  inline void SetSecurityProfileTargetArn(const char* value) { m_securityProfileTargetArnHasBeenSet = true; m_securityProfileTargetArn.assign(value); }
106 
110  inline DetachSecurityProfileRequest& WithSecurityProfileTargetArn(const Aws::String& value) { SetSecurityProfileTargetArn(value); return *this;}
111 
115  inline DetachSecurityProfileRequest& WithSecurityProfileTargetArn(Aws::String&& value) { SetSecurityProfileTargetArn(std::move(value)); return *this;}
116 
120  inline DetachSecurityProfileRequest& WithSecurityProfileTargetArn(const char* value) { SetSecurityProfileTargetArn(value); return *this;}
121 
122  private:
123 
124  Aws::String m_securityProfileName;
125  bool m_securityProfileNameHasBeenSet;
126 
127  Aws::String m_securityProfileTargetArn;
128  bool m_securityProfileTargetArnHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace IoT
133 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::DetachSecurityProfileRequest::SecurityProfileTargetArnHasBeenSet
bool SecurityProfileTargetArnHasBeenSet() const
Definition: DetachSecurityProfileRequest.h:90
Aws::IoT::Model::DetachSecurityProfileRequest::SetSecurityProfileName
void SetSecurityProfileName(Aws::String &&value)
Definition: DetachSecurityProfileRequest.h:59
Aws::IoT::Model::DetachSecurityProfileRequest::SecurityProfileNameHasBeenSet
bool SecurityProfileNameHasBeenSet() const
Definition: DetachSecurityProfileRequest.h:49
Aws::IoT::Model::DetachSecurityProfileRequest
Definition: DetachSecurityProfileRequest.h:26
Aws::IoT::Model::DetachSecurityProfileRequest::WithSecurityProfileName
DetachSecurityProfileRequest & WithSecurityProfileName(const Aws::String &value)
Definition: DetachSecurityProfileRequest.h:69
Aws::IoT::Model::DetachSecurityProfileRequest::GetSecurityProfileName
const Aws::String & GetSecurityProfileName() const
Definition: DetachSecurityProfileRequest.h:44
Aws::IoT::Model::DetachSecurityProfileRequest::SetSecurityProfileTargetArn
void SetSecurityProfileTargetArn(const char *value)
Definition: DetachSecurityProfileRequest.h:105
Aws::IoT::Model::DetachSecurityProfileRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::DetachSecurityProfileRequest::WithSecurityProfileTargetArn
DetachSecurityProfileRequest & WithSecurityProfileTargetArn(const Aws::String &value)
Definition: DetachSecurityProfileRequest.h:110
Aws::IoT::Model::DetachSecurityProfileRequest::WithSecurityProfileName
DetachSecurityProfileRequest & WithSecurityProfileName(Aws::String &&value)
Definition: DetachSecurityProfileRequest.h:74
Aws::IoT::Model::DetachSecurityProfileRequest::SetSecurityProfileTargetArn
void SetSecurityProfileTargetArn(Aws::String &&value)
Definition: DetachSecurityProfileRequest.h:100
Aws::IoT::Model::DetachSecurityProfileRequest::DetachSecurityProfileRequest
DetachSecurityProfileRequest()
Aws::IoT::Model::DetachSecurityProfileRequest::GetSecurityProfileTargetArn
const Aws::String & GetSecurityProfileTargetArn() const
Definition: DetachSecurityProfileRequest.h:85
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DetachSecurityProfileRequest::WithSecurityProfileName
DetachSecurityProfileRequest & WithSecurityProfileName(const char *value)
Definition: DetachSecurityProfileRequest.h:79
Aws::IoT::Model::DetachSecurityProfileRequest::WithSecurityProfileTargetArn
DetachSecurityProfileRequest & WithSecurityProfileTargetArn(const char *value)
Definition: DetachSecurityProfileRequest.h:120
Aws::IoT::Model::DetachSecurityProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DetachSecurityProfileRequest::SetSecurityProfileName
void SetSecurityProfileName(const Aws::String &value)
Definition: DetachSecurityProfileRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DetachSecurityProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DetachSecurityProfileRequest.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
Aws::IoT::Model::DetachSecurityProfileRequest::WithSecurityProfileTargetArn
DetachSecurityProfileRequest & WithSecurityProfileTargetArn(Aws::String &&value)
Definition: DetachSecurityProfileRequest.h:115
Aws::IoT::Model::DetachSecurityProfileRequest::SetSecurityProfileName
void SetSecurityProfileName(const char *value)
Definition: DetachSecurityProfileRequest.h:64
IoT_EXPORTS.h
Aws::IoT::Model::DetachSecurityProfileRequest::SetSecurityProfileTargetArn
void SetSecurityProfileTargetArn(const Aws::String &value)
Definition: DetachSecurityProfileRequest.h:95