AWS SDK for C++  1.9.123
AWS SDK for C++
CreateKeysAndCertificateRequest.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>
9 
10 namespace Aws
11 {
12 namespace Http
13 {
14  class URI;
15 } //namespace Http
16 namespace IoT
17 {
18 namespace Model
19 {
20 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "CreateKeysAndCertificate"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline bool GetSetAsActive() const{ return m_setAsActive; }
49 
53  inline bool SetAsActiveHasBeenSet() const { return m_setAsActiveHasBeenSet; }
54 
58  inline void SetSetAsActive(bool value) { m_setAsActiveHasBeenSet = true; m_setAsActive = value; }
59 
63  inline CreateKeysAndCertificateRequest& WithSetAsActive(bool value) { SetSetAsActive(value); return *this;}
64 
65  private:
66 
67  bool m_setAsActive;
68  bool m_setAsActiveHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace IoT
73 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::CreateKeysAndCertificateRequest::SetAsActiveHasBeenSet
bool SetAsActiveHasBeenSet() const
Definition: CreateKeysAndCertificateRequest.h:53
Aws::IoT::Model::CreateKeysAndCertificateRequest::WithSetAsActive
CreateKeysAndCertificateRequest & WithSetAsActive(bool value)
Definition: CreateKeysAndCertificateRequest.h:63
Aws::IoT::Model::CreateKeysAndCertificateRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::CreateKeysAndCertificateRequest::SetSetAsActive
void SetSetAsActive(bool value)
Definition: CreateKeysAndCertificateRequest.h:58
Aws::IoT::Model::CreateKeysAndCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::CreateKeysAndCertificateRequest::GetSetAsActive
bool GetSetAsActive() const
Definition: CreateKeysAndCertificateRequest.h:48
Aws::IoT::Model::CreateKeysAndCertificateRequest
Definition: CreateKeysAndCertificateRequest.h:30
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateKeysAndCertificateRequest::CreateKeysAndCertificateRequest
CreateKeysAndCertificateRequest()
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::CreateKeysAndCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateKeysAndCertificateRequest.h:38
IoT_EXPORTS.h