AWS SDK for C++  1.9.175
AWS SDK for C++
DeviceUnderTest.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTDeviceAdvisor
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetThingArn() const{ return m_thingArn; }
45 
49  inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
50 
54  inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
55 
59  inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
60 
64  inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
65 
69  inline DeviceUnderTest& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
70 
74  inline DeviceUnderTest& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
75 
79  inline DeviceUnderTest& WithThingArn(const char* value) { SetThingArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
86 
90  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
91 
95  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
96 
100  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
101 
105  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
106 
110  inline DeviceUnderTest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
111 
115  inline DeviceUnderTest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
116 
120  inline DeviceUnderTest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
121 
122  private:
123 
124  Aws::String m_thingArn;
125  bool m_thingArnHasBeenSet;
126 
127  Aws::String m_certificateArn;
128  bool m_certificateArnHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace IoTDeviceAdvisor
133 } // namespace Aws
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest
Definition: DeviceUnderTest.h:33
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::WithCertificateArn
DeviceUnderTest & WithCertificateArn(const Aws::String &value)
Definition: DeviceUnderTest.h:110
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::WithThingArn
DeviceUnderTest & WithThingArn(const char *value)
Definition: DeviceUnderTest.h:79
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::WithCertificateArn
DeviceUnderTest & WithCertificateArn(Aws::String &&value)
Definition: DeviceUnderTest.h:115
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: DeviceUnderTest.h:85
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::WithCertificateArn
DeviceUnderTest & WithCertificateArn(const char *value)
Definition: DeviceUnderTest.h:120
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::WithThingArn
DeviceUnderTest & WithThingArn(Aws::String &&value)
Definition: DeviceUnderTest.h:74
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::DeviceUnderTest
DeviceUnderTest()
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::WithThingArn
DeviceUnderTest & WithThingArn(const Aws::String &value)
Definition: DeviceUnderTest.h:69
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: DeviceUnderTest.h:105
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::SetThingArn
void SetThingArn(const Aws::String &value)
Definition: DeviceUnderTest.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::SetThingArn
void SetThingArn(const char *value)
Definition: DeviceUnderTest.h:64
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: DeviceUnderTest.h:95
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::ThingArnHasBeenSet
bool ThingArnHasBeenSet() const
Definition: DeviceUnderTest.h:49
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::operator=
DeviceUnderTest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: DeviceUnderTest.h:100
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::GetThingArn
const Aws::String & GetThingArn() const
Definition: DeviceUnderTest.h:44
IoTDeviceAdvisor_EXPORTS.h
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::DeviceUnderTest
DeviceUnderTest(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: DeviceUnderTest.h:90
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest::SetThingArn
void SetThingArn(Aws::String &&value)
Definition: DeviceUnderTest.h:59