AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateInstanceAttributeRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/InstanceAttributeType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateInstanceAttribute"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline UpdateInstanceAttributeRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline UpdateInstanceAttributeRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateInstanceAttributeRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
58 inline const InstanceAttributeType& GetAttributeType() const{ return m_attributeType; }
59 inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; }
60 inline void SetAttributeType(const InstanceAttributeType& value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; }
61 inline void SetAttributeType(InstanceAttributeType&& value) { m_attributeTypeHasBeenSet = true; m_attributeType = std::move(value); }
65
67
70 inline const Aws::String& GetValue() const{ return m_value; }
71 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
72 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
73 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
74 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
75 inline UpdateInstanceAttributeRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;}
76 inline UpdateInstanceAttributeRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
77 inline UpdateInstanceAttributeRequest& WithValue(const char* value) { SetValue(value); return *this;}
79 private:
80
81 Aws::String m_instanceId;
82 bool m_instanceIdHasBeenSet = false;
83
84 InstanceAttributeType m_attributeType;
85 bool m_attributeTypeHasBeenSet = false;
86
87 Aws::String m_value;
88 bool m_valueHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
UpdateInstanceAttributeRequest & WithValue(const char *value)
UpdateInstanceAttributeRequest & WithValue(const Aws::String &value)
UpdateInstanceAttributeRequest & WithInstanceId(const char *value)
UpdateInstanceAttributeRequest & WithInstanceId(Aws::String &&value)
UpdateInstanceAttributeRequest & WithInstanceId(const Aws::String &value)
UpdateInstanceAttributeRequest & WithValue(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateInstanceAttributeRequest & WithAttributeType(InstanceAttributeType &&value)
UpdateInstanceAttributeRequest & WithAttributeType(const InstanceAttributeType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String