AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeProvisioningTemplateVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IoT {
15namespace Model {
16
20 public:
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeProvisioningTemplateVersion"; }
28
29 AWS_IOT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetTemplateName() const { return m_templateName; }
36 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
37 template <typename TemplateNameT = Aws::String>
38 void SetTemplateName(TemplateNameT&& value) {
39 m_templateNameHasBeenSet = true;
40 m_templateName = std::forward<TemplateNameT>(value);
41 }
42 template <typename TemplateNameT = Aws::String>
44 SetTemplateName(std::forward<TemplateNameT>(value));
45 return *this;
46 }
48
50
53 inline int GetVersionId() const { return m_versionId; }
54 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
55 inline void SetVersionId(int value) {
56 m_versionIdHasBeenSet = true;
57 m_versionId = value;
58 }
60 SetVersionId(value);
61 return *this;
62 }
64 private:
65 Aws::String m_templateName;
66 bool m_templateNameHasBeenSet = false;
67
68 int m_versionId{0};
69 bool m_versionIdHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace IoT
74} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
DescribeProvisioningTemplateVersionRequest & WithTemplateName(TemplateNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String