AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDeviceInstanceRequest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DeviceFarm
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEVICEFARM_API UpdateDeviceInstanceRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDeviceInstance"; }
32
33 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
47 inline UpdateDeviceInstanceRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline UpdateDeviceInstanceRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline UpdateDeviceInstanceRequest& WithArn(const char* value) { SetArn(value); return *this;}
51
53
57 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
58 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
59 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
60 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
61 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
62 inline UpdateDeviceInstanceRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
63 inline UpdateDeviceInstanceRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
64 inline UpdateDeviceInstanceRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
72 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
73 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
74 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
75 inline UpdateDeviceInstanceRequest& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
76 inline UpdateDeviceInstanceRequest& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
77 inline UpdateDeviceInstanceRequest& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
78 inline UpdateDeviceInstanceRequest& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
79 inline UpdateDeviceInstanceRequest& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
81 private:
82
83 Aws::String m_arn;
84 bool m_arnHasBeenSet = false;
85
86 Aws::String m_profileArn;
87 bool m_profileArnHasBeenSet = false;
88
90 bool m_labelsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DeviceFarm
95} // namespace Aws
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
UpdateDeviceInstanceRequest & WithLabels(Aws::Vector< Aws::String > &&value)
UpdateDeviceInstanceRequest & WithArn(const Aws::String &value)
void SetLabels(const Aws::Vector< Aws::String > &value)
UpdateDeviceInstanceRequest & WithProfileArn(const Aws::String &value)
UpdateDeviceInstanceRequest & AddLabels(const char *value)
UpdateDeviceInstanceRequest & WithArn(Aws::String &&value)
UpdateDeviceInstanceRequest & AddLabels(const Aws::String &value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDeviceInstanceRequest & WithProfileArn(Aws::String &&value)
UpdateDeviceInstanceRequest & WithArn(const char *value)
UpdateDeviceInstanceRequest & AddLabels(Aws::String &&value)
UpdateDeviceInstanceRequest & WithProfileArn(const char *value)
const Aws::Vector< Aws::String > & GetLabels() const
UpdateDeviceInstanceRequest & WithLabels(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector