AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateCommandResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOT_API UpdateCommandResult() = default;
34
35
37
40 inline const Aws::String& GetCommandId() const { return m_commandId; }
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 UpdateCommandResult& WithCommandId(CommandIdT&& value) { SetCommandId(std::forward<CommandIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDisplayName() const { return m_displayName; }
52 template<typename DisplayNameT = Aws::String>
53 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
54 template<typename DisplayNameT = Aws::String>
55 UpdateCommandResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 template<typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 UpdateCommandResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
73 inline bool GetDeprecated() const { return m_deprecated; }
74 inline void SetDeprecated(bool value) { m_deprecatedHasBeenSet = true; m_deprecated = value; }
75 inline UpdateCommandResult& WithDeprecated(bool value) { SetDeprecated(value); return *this;}
77
79
83 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
84 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
85 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
86 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
87 UpdateCommandResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 UpdateCommandResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 Aws::String m_commandId;
101 bool m_commandIdHasBeenSet = false;
102
103 Aws::String m_displayName;
104 bool m_displayNameHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108
109 bool m_deprecated{false};
110 bool m_deprecatedHasBeenSet = false;
111
112 Aws::Utils::DateTime m_lastUpdatedAt{};
113 bool m_lastUpdatedAtHasBeenSet = false;
114
115 Aws::String m_requestId;
116 bool m_requestIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace IoT
121} // namespace Aws
UpdateCommandResult & WithCommandId(CommandIdT &&value)
UpdateCommandResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
UpdateCommandResult & WithDeprecated(bool value)
const Aws::String & GetRequestId() const
AWS_IOT_API UpdateCommandResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetDisplayName(DisplayNameT &&value)
AWS_IOT_API UpdateCommandResult()=default
const Aws::String & GetDisplayName() const
UpdateCommandResult & WithDescription(DescriptionT &&value)
UpdateCommandResult & WithDisplayName(DisplayNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
UpdateCommandResult & WithRequestId(RequestIdT &&value)
AWS_IOT_API UpdateCommandResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCommandId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue