AWS SDK for C++  1.9.125
AWS SDK for C++
DeleteSecurityProfileRequest.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 "DeleteSecurityProfile"; }
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 DeleteSecurityProfileRequest& WithSecurityProfileName(const Aws::String& value) { SetSecurityProfileName(value); return *this;}
70 
74  inline DeleteSecurityProfileRequest& WithSecurityProfileName(Aws::String&& value) { SetSecurityProfileName(std::move(value)); return *this;}
75 
79  inline DeleteSecurityProfileRequest& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
80 
81 
88  inline long long GetExpectedVersion() const{ return m_expectedVersion; }
89 
96  inline bool ExpectedVersionHasBeenSet() const { return m_expectedVersionHasBeenSet; }
97 
104  inline void SetExpectedVersion(long long value) { m_expectedVersionHasBeenSet = true; m_expectedVersion = value; }
105 
112  inline DeleteSecurityProfileRequest& WithExpectedVersion(long long value) { SetExpectedVersion(value); return *this;}
113 
114  private:
115 
116  Aws::String m_securityProfileName;
117  bool m_securityProfileNameHasBeenSet;
118 
119  long long m_expectedVersion;
120  bool m_expectedVersionHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace IoT
125 } // namespace Aws
Aws::IoT::Model::DeleteSecurityProfileRequest::SetExpectedVersion
void SetExpectedVersion(long long value)
Definition: DeleteSecurityProfileRequest.h:104
Aws::IoT::Model::DeleteSecurityProfileRequest::ExpectedVersionHasBeenSet
bool ExpectedVersionHasBeenSet() const
Definition: DeleteSecurityProfileRequest.h:96
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::DeleteSecurityProfileRequest::WithSecurityProfileName
DeleteSecurityProfileRequest & WithSecurityProfileName(const Aws::String &value)
Definition: DeleteSecurityProfileRequest.h:69
Aws::IoT::Model::DeleteSecurityProfileRequest
Definition: DeleteSecurityProfileRequest.h:26
Aws::IoT::Model::DeleteSecurityProfileRequest::SetSecurityProfileName
void SetSecurityProfileName(const Aws::String &value)
Definition: DeleteSecurityProfileRequest.h:54
Aws::IoT::Model::DeleteSecurityProfileRequest::WithSecurityProfileName
DeleteSecurityProfileRequest & WithSecurityProfileName(Aws::String &&value)
Definition: DeleteSecurityProfileRequest.h:74
Aws::IoT::Model::DeleteSecurityProfileRequest::GetExpectedVersion
long long GetExpectedVersion() const
Definition: DeleteSecurityProfileRequest.h:88
Aws::IoT::Model::DeleteSecurityProfileRequest::WithExpectedVersion
DeleteSecurityProfileRequest & WithExpectedVersion(long long value)
Definition: DeleteSecurityProfileRequest.h:112
Aws::IoT::Model::DeleteSecurityProfileRequest::WithSecurityProfileName
DeleteSecurityProfileRequest & WithSecurityProfileName(const char *value)
Definition: DeleteSecurityProfileRequest.h:79
Aws::IoT::Model::DeleteSecurityProfileRequest::SecurityProfileNameHasBeenSet
bool SecurityProfileNameHasBeenSet() const
Definition: DeleteSecurityProfileRequest.h:49
Aws::IoT::Model::DeleteSecurityProfileRequest::SetSecurityProfileName
void SetSecurityProfileName(const char *value)
Definition: DeleteSecurityProfileRequest.h:64
AWSString.h
Aws::IoT::Model::DeleteSecurityProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DeleteSecurityProfileRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DeleteSecurityProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteSecurityProfileRequest.h:34
Aws::IoT::Model::DeleteSecurityProfileRequest::SetSecurityProfileName
void SetSecurityProfileName(Aws::String &&value)
Definition: DeleteSecurityProfileRequest.h:59
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
Aws::IoT::Model::DeleteSecurityProfileRequest::GetSecurityProfileName
const Aws::String & GetSecurityProfileName() const
Definition: DeleteSecurityProfileRequest.h:44
IoTRequest.h
Aws::IoT::Model::DeleteSecurityProfileRequest::DeleteSecurityProfileRequest
DeleteSecurityProfileRequest()
IoT_EXPORTS.h