AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimestreamRegistrationResponse.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/RegistrationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTFleetWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTFLEETWISE_API TimestreamRegistrationResponse();
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTimestreamDatabaseName() const{ return m_timestreamDatabaseName; }
47 inline bool TimestreamDatabaseNameHasBeenSet() const { return m_timestreamDatabaseNameHasBeenSet; }
48 inline void SetTimestreamDatabaseName(const Aws::String& value) { m_timestreamDatabaseNameHasBeenSet = true; m_timestreamDatabaseName = value; }
49 inline void SetTimestreamDatabaseName(Aws::String&& value) { m_timestreamDatabaseNameHasBeenSet = true; m_timestreamDatabaseName = std::move(value); }
50 inline void SetTimestreamDatabaseName(const char* value) { m_timestreamDatabaseNameHasBeenSet = true; m_timestreamDatabaseName.assign(value); }
55
57
60 inline const Aws::String& GetTimestreamTableName() const{ return m_timestreamTableName; }
61 inline bool TimestreamTableNameHasBeenSet() const { return m_timestreamTableNameHasBeenSet; }
62 inline void SetTimestreamTableName(const Aws::String& value) { m_timestreamTableNameHasBeenSet = true; m_timestreamTableName = value; }
63 inline void SetTimestreamTableName(Aws::String&& value) { m_timestreamTableNameHasBeenSet = true; m_timestreamTableName = std::move(value); }
64 inline void SetTimestreamTableName(const char* value) { m_timestreamTableNameHasBeenSet = true; m_timestreamTableName.assign(value); }
67 inline TimestreamRegistrationResponse& WithTimestreamTableName(const char* value) { SetTimestreamTableName(value); return *this;}
69
71
74 inline const Aws::String& GetTimestreamDatabaseArn() const{ return m_timestreamDatabaseArn; }
75 inline bool TimestreamDatabaseArnHasBeenSet() const { return m_timestreamDatabaseArnHasBeenSet; }
76 inline void SetTimestreamDatabaseArn(const Aws::String& value) { m_timestreamDatabaseArnHasBeenSet = true; m_timestreamDatabaseArn = value; }
77 inline void SetTimestreamDatabaseArn(Aws::String&& value) { m_timestreamDatabaseArnHasBeenSet = true; m_timestreamDatabaseArn = std::move(value); }
78 inline void SetTimestreamDatabaseArn(const char* value) { m_timestreamDatabaseArnHasBeenSet = true; m_timestreamDatabaseArn.assign(value); }
81 inline TimestreamRegistrationResponse& WithTimestreamDatabaseArn(const char* value) { SetTimestreamDatabaseArn(value); return *this;}
83
85
88 inline const Aws::String& GetTimestreamTableArn() const{ return m_timestreamTableArn; }
89 inline bool TimestreamTableArnHasBeenSet() const { return m_timestreamTableArnHasBeenSet; }
90 inline void SetTimestreamTableArn(const Aws::String& value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn = value; }
91 inline void SetTimestreamTableArn(Aws::String&& value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn = std::move(value); }
92 inline void SetTimestreamTableArn(const char* value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn.assign(value); }
95 inline TimestreamRegistrationResponse& WithTimestreamTableArn(const char* value) { SetTimestreamTableArn(value); return *this;}
97
99
104 inline const RegistrationStatus& GetRegistrationStatus() const{ return m_registrationStatus; }
105 inline bool RegistrationStatusHasBeenSet() const { return m_registrationStatusHasBeenSet; }
106 inline void SetRegistrationStatus(const RegistrationStatus& value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = value; }
107 inline void SetRegistrationStatus(RegistrationStatus&& value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = std::move(value); }
111
113
116 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
117 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
118 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
119 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
120 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
121 inline TimestreamRegistrationResponse& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
122 inline TimestreamRegistrationResponse& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
123 inline TimestreamRegistrationResponse& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
125 private:
126
127 Aws::String m_timestreamDatabaseName;
128 bool m_timestreamDatabaseNameHasBeenSet = false;
129
130 Aws::String m_timestreamTableName;
131 bool m_timestreamTableNameHasBeenSet = false;
132
133 Aws::String m_timestreamDatabaseArn;
134 bool m_timestreamDatabaseArnHasBeenSet = false;
135
136 Aws::String m_timestreamTableArn;
137 bool m_timestreamTableArnHasBeenSet = false;
138
139 RegistrationStatus m_registrationStatus;
140 bool m_registrationStatusHasBeenSet = false;
141
142 Aws::String m_errorMessage;
143 bool m_errorMessageHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace IoTFleetWise
148} // namespace Aws
TimestreamRegistrationResponse & WithRegistrationStatus(RegistrationStatus &&value)
TimestreamRegistrationResponse & WithTimestreamTableArn(const char *value)
TimestreamRegistrationResponse & WithErrorMessage(const Aws::String &value)
TimestreamRegistrationResponse & WithErrorMessage(Aws::String &&value)
TimestreamRegistrationResponse & WithTimestreamDatabaseArn(const char *value)
AWS_IOTFLEETWISE_API TimestreamRegistrationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
TimestreamRegistrationResponse & WithTimestreamTableArn(Aws::String &&value)
TimestreamRegistrationResponse & WithTimestreamTableName(Aws::String &&value)
TimestreamRegistrationResponse & WithRegistrationStatus(const RegistrationStatus &value)
TimestreamRegistrationResponse & WithTimestreamTableName(const char *value)
TimestreamRegistrationResponse & WithTimestreamDatabaseArn(const Aws::String &value)
AWS_IOTFLEETWISE_API TimestreamRegistrationResponse(Aws::Utils::Json::JsonView jsonValue)
TimestreamRegistrationResponse & WithTimestreamTableName(const Aws::String &value)
TimestreamRegistrationResponse & WithTimestreamDatabaseName(Aws::String &&value)
TimestreamRegistrationResponse & WithTimestreamDatabaseArn(Aws::String &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
TimestreamRegistrationResponse & WithTimestreamTableArn(const Aws::String &value)
TimestreamRegistrationResponse & WithTimestreamDatabaseName(const char *value)
TimestreamRegistrationResponse & WithTimestreamDatabaseName(const Aws::String &value)
TimestreamRegistrationResponse & WithErrorMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue