AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCommandRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoT
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOT_API UpdateCommandRequest() = default;
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 "UpdateCommand"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetCommandId() const { return m_commandId; }
40 inline bool CommandIdHasBeenSet() const { return m_commandIdHasBeenSet; }
41 template<typename CommandIdT = Aws::String>
42 void SetCommandId(CommandIdT&& value) { m_commandIdHasBeenSet = true; m_commandId = std::forward<CommandIdT>(value); }
43 template<typename CommandIdT = Aws::String>
44 UpdateCommandRequest& WithCommandId(CommandIdT&& value) { SetCommandId(std::forward<CommandIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDisplayName() const { return m_displayName; }
52 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
53 template<typename DisplayNameT = Aws::String>
54 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
55 template<typename DisplayNameT = Aws::String>
56 UpdateCommandRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template<typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 UpdateCommandRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
75 inline bool GetDeprecated() const { return m_deprecated; }
76 inline bool DeprecatedHasBeenSet() const { return m_deprecatedHasBeenSet; }
77 inline void SetDeprecated(bool value) { m_deprecatedHasBeenSet = true; m_deprecated = value; }
78 inline UpdateCommandRequest& WithDeprecated(bool value) { SetDeprecated(value); return *this;}
80 private:
81
82 Aws::String m_commandId;
83 bool m_commandIdHasBeenSet = false;
84
85 Aws::String m_displayName;
86 bool m_displayNameHasBeenSet = false;
87
88 Aws::String m_description;
89 bool m_descriptionHasBeenSet = false;
90
91 bool m_deprecated{false};
92 bool m_deprecatedHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace IoT
97} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateCommandRequest & WithDisplayName(DisplayNameT &&value)
UpdateCommandRequest & WithDescription(DescriptionT &&value)
UpdateCommandRequest & WithCommandId(CommandIdT &&value)
const Aws::String & GetDescription() const
AWS_IOT_API UpdateCommandRequest()=default
UpdateCommandRequest & WithDeprecated(bool value)
const Aws::String & GetCommandId() const
void SetDescription(DescriptionT &&value)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String