7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename CommandArnT = Aws::String>
49 void SetCommandArn(CommandArnT&& value) { m_commandArnHasBeenSet =
true; m_commandArn = std::forward<CommandArnT>(value); }
50 template<
typename CommandArnT = Aws::String>
60 template<
typename CommandIdT = Aws::String>
61 void SetCommandId(CommandIdT&& value) { m_commandIdHasBeenSet =
true; m_commandId = std::forward<CommandIdT>(value); }
62 template<
typename CommandIdT = Aws::String>
72 template<
typename DisplayNameT = Aws::String>
73 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
74 template<
typename DisplayNameT = Aws::String>
84 inline void SetDeprecated(
bool value) { m_deprecatedHasBeenSet =
true; m_deprecated = value; }
94 template<
typename CreatedAtT = Aws::Utils::DateTime>
95 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
96 template<
typename CreatedAtT = Aws::Utils::DateTime>
106 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
107 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
108 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
118 inline void SetPendingDeletion(
bool value) { m_pendingDeletionHasBeenSet =
true; m_pendingDeletion = value; }
124 bool m_commandArnHasBeenSet =
false;
127 bool m_commandIdHasBeenSet =
false;
130 bool m_displayNameHasBeenSet =
false;
132 bool m_deprecated{
false};
133 bool m_deprecatedHasBeenSet =
false;
136 bool m_createdAtHasBeenSet =
false;
139 bool m_lastUpdatedAtHasBeenSet =
false;
141 bool m_pendingDeletion{
false};
142 bool m_pendingDeletionHasBeenSet =
false;
CommandSummary & WithCreatedAt(CreatedAtT &&value)
CommandSummary & WithDeprecated(bool value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
CommandSummary & WithCommandId(CommandIdT &&value)
CommandSummary & WithDisplayName(DisplayNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool CommandArnHasBeenSet() const
bool DeprecatedHasBeenSet() const
const Aws::String & GetDisplayName() const
const Aws::String & GetCommandArn() const
CommandSummary & WithCommandArn(CommandArnT &&value)
AWS_IOT_API CommandSummary(Aws::Utils::Json::JsonView jsonValue)
void SetPendingDeletion(bool value)
bool DisplayNameHasBeenSet() const
bool CreatedAtHasBeenSet() const
AWS_IOT_API CommandSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
CommandSummary & WithPendingDeletion(bool value)
CommandSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
bool GetDeprecated() const
AWS_IOT_API CommandSummary()=default
bool GetPendingDeletion() const
bool LastUpdatedAtHasBeenSet() const
const Aws::String & GetCommandId() const
void SetDeprecated(bool value)
void SetDisplayName(DisplayNameT &&value)
bool CommandIdHasBeenSet() const
void SetCommandArn(CommandArnT &&value)
bool PendingDeletionHasBeenSet() const
void SetCommandId(CommandIdT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue