AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeProvisioningTemplateVersionRequest.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 IoT
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeProvisioningTemplateVersion"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
39 
43  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
44 
48  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
49 
53  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
54 
58  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
59 
63  inline DescribeProvisioningTemplateVersionRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
64 
68  inline DescribeProvisioningTemplateVersionRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
69 
73  inline DescribeProvisioningTemplateVersionRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
74 
75 
79  inline int GetVersionId() const{ return m_versionId; }
80 
84  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
85 
89  inline void SetVersionId(int value) { m_versionIdHasBeenSet = true; m_versionId = value; }
90 
94  inline DescribeProvisioningTemplateVersionRequest& WithVersionId(int value) { SetVersionId(value); return *this;}
95 
96  private:
97 
98  Aws::String m_templateName;
99  bool m_templateNameHasBeenSet;
100 
101  int m_versionId;
102  bool m_versionIdHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace IoT
107 } // namespace Aws
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: DescribeProvisioningTemplateVersionRequest.h:53
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: DescribeProvisioningTemplateVersionRequest.h:38
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest
Definition: DescribeProvisioningTemplateVersionRequest.h:22
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::WithTemplateName
DescribeProvisioningTemplateVersionRequest & WithTemplateName(const Aws::String &value)
Definition: DescribeProvisioningTemplateVersionRequest.h:63
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: DescribeProvisioningTemplateVersionRequest.h:58
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: DescribeProvisioningTemplateVersionRequest.h:43
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::WithVersionId
DescribeProvisioningTemplateVersionRequest & WithVersionId(int value)
Definition: DescribeProvisioningTemplateVersionRequest.h:94
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeProvisioningTemplateVersionRequest.h:30
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::WithTemplateName
DescribeProvisioningTemplateVersionRequest & WithTemplateName(const char *value)
Definition: DescribeProvisioningTemplateVersionRequest.h:73
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::GetVersionId
int GetVersionId() const
Definition: DescribeProvisioningTemplateVersionRequest.h:79
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: DescribeProvisioningTemplateVersionRequest.h:48
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::SetVersionId
void SetVersionId(int value)
Definition: DescribeProvisioningTemplateVersionRequest.h:89
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::DescribeProvisioningTemplateVersionRequest
DescribeProvisioningTemplateVersionRequest()
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::VersionIdHasBeenSet
bool VersionIdHasBeenSet() const
Definition: DescribeProvisioningTemplateVersionRequest.h:84
Aws
Definition: AccessManagementClient.h:15
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::DescribeProvisioningTemplateVersionRequest::SerializePayload
Aws::String SerializePayload() const override
IoT_EXPORTS.h
Aws::IoT::Model::DescribeProvisioningTemplateVersionRequest::WithTemplateName
DescribeProvisioningTemplateVersionRequest & WithTemplateName(Aws::String &&value)
Definition: DescribeProvisioningTemplateVersionRequest.h:68