AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IamRegistrationResponse.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
35 {
36 public:
37 AWS_IOTFLEETWISE_API IamRegistrationResponse();
38 AWS_IOTFLEETWISE_API IamRegistrationResponse(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
48 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
49 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
50 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
51 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
52 inline IamRegistrationResponse& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
53 inline IamRegistrationResponse& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
54 inline IamRegistrationResponse& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
56
58
63 inline const RegistrationStatus& GetRegistrationStatus() const{ return m_registrationStatus; }
64 inline bool RegistrationStatusHasBeenSet() const { return m_registrationStatusHasBeenSet; }
65 inline void SetRegistrationStatus(const RegistrationStatus& value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = value; }
66 inline void SetRegistrationStatus(RegistrationStatus&& value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = std::move(value); }
70
72
75 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
76 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
77 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
78 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
79 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
80 inline IamRegistrationResponse& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
81 inline IamRegistrationResponse& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
82 inline IamRegistrationResponse& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
84 private:
85
86 Aws::String m_roleArn;
87 bool m_roleArnHasBeenSet = false;
88
89 RegistrationStatus m_registrationStatus;
90 bool m_registrationStatusHasBeenSet = false;
91
92 Aws::String m_errorMessage;
93 bool m_errorMessageHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace IoTFleetWise
98} // namespace Aws
IamRegistrationResponse & WithRoleArn(const char *value)
IamRegistrationResponse & WithErrorMessage(Aws::String &&value)
AWS_IOTFLEETWISE_API IamRegistrationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const RegistrationStatus & GetRegistrationStatus() const
IamRegistrationResponse & WithErrorMessage(const Aws::String &value)
void SetRegistrationStatus(const RegistrationStatus &value)
AWS_IOTFLEETWISE_API IamRegistrationResponse(Aws::Utils::Json::JsonView jsonValue)
IamRegistrationResponse & WithRegistrationStatus(RegistrationStatus &&value)
IamRegistrationResponse & WithErrorMessage(const char *value)
IamRegistrationResponse & WithRegistrationStatus(const RegistrationStatus &value)
IamRegistrationResponse & WithRoleArn(const Aws::String &value)
IamRegistrationResponse & WithRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue