AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateCommandResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
28 {
29 public:
30 AWS_IOT_API CreateCommandResult() = default;
33
34
36
39 inline const Aws::String& GetCommandId() const { return m_commandId; }
40 template<typename CommandIdT = Aws::String>
41 void SetCommandId(CommandIdT&& value) { m_commandIdHasBeenSet = true; m_commandId = std::forward<CommandIdT>(value); }
42 template<typename CommandIdT = Aws::String>
43 CreateCommandResult& WithCommandId(CommandIdT&& value) { SetCommandId(std::forward<CommandIdT>(value)); return *this;}
45
47
52 inline const Aws::String& GetCommandArn() const { return m_commandArn; }
53 template<typename CommandArnT = Aws::String>
54 void SetCommandArn(CommandArnT&& value) { m_commandArnHasBeenSet = true; m_commandArn = std::forward<CommandArnT>(value); }
55 template<typename CommandArnT = Aws::String>
56 CreateCommandResult& WithCommandArn(CommandArnT&& value) { SetCommandArn(std::forward<CommandArnT>(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 CreateCommandResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_commandId;
70 bool m_commandIdHasBeenSet = false;
71
72 Aws::String m_commandArn;
73 bool m_commandArnHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoT
81} // namespace Aws
void SetCommandArn(CommandArnT &&value)
CreateCommandResult & WithCommandArn(CommandArnT &&value)
CreateCommandResult & WithCommandId(CommandIdT &&value)
AWS_IOT_API CreateCommandResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCommandId() const
const Aws::String & GetCommandArn() const
AWS_IOT_API CreateCommandResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
CreateCommandResult & WithRequestId(RequestIdT &&value)
AWS_IOT_API CreateCommandResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue