AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGatewayResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_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 IoTSiteWise
24{
25namespace Model
26{
28 {
29 public:
30 AWS_IOTSITEWISE_API CreateGatewayResult();
33
34
36
40 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
41 inline void SetGatewayId(const Aws::String& value) { m_gatewayId = value; }
42 inline void SetGatewayId(Aws::String&& value) { m_gatewayId = std::move(value); }
43 inline void SetGatewayId(const char* value) { m_gatewayId.assign(value); }
44 inline CreateGatewayResult& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
45 inline CreateGatewayResult& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
46 inline CreateGatewayResult& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
48
50
57 inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; }
58 inline void SetGatewayArn(const Aws::String& value) { m_gatewayArn = value; }
59 inline void SetGatewayArn(Aws::String&& value) { m_gatewayArn = std::move(value); }
60 inline void SetGatewayArn(const char* value) { m_gatewayArn.assign(value); }
61 inline CreateGatewayResult& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
62 inline CreateGatewayResult& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
63 inline CreateGatewayResult& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline CreateGatewayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline CreateGatewayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline CreateGatewayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::String m_gatewayId;
79
80 Aws::String m_gatewayArn;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace IoTSiteWise
87} // namespace Aws
CreateGatewayResult & WithGatewayId(Aws::String &&value)
CreateGatewayResult & WithRequestId(Aws::String &&value)
CreateGatewayResult & WithGatewayArn(const Aws::String &value)
CreateGatewayResult & WithRequestId(const char *value)
CreateGatewayResult & WithGatewayId(const Aws::String &value)
CreateGatewayResult & WithGatewayArn(const char *value)
CreateGatewayResult & WithGatewayId(const char *value)
CreateGatewayResult & WithRequestId(const Aws::String &value)
AWS_IOTSITEWISE_API CreateGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGatewayResult & WithGatewayArn(Aws::String &&value)
AWS_IOTSITEWISE_API CreateGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue