AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePredefinedAttributeRequest.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/PredefinedAttributeValues.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 "UpdatePredefinedAttribute"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
43 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
44 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
45 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
46 inline UpdatePredefinedAttributeRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
47 inline UpdatePredefinedAttributeRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
48 inline UpdatePredefinedAttributeRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline UpdatePredefinedAttributeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdatePredefinedAttributeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdatePredefinedAttributeRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const PredefinedAttributeValues& GetValues() const{ return m_values; }
70 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
71 inline void SetValues(const PredefinedAttributeValues& value) { m_valuesHasBeenSet = true; m_values = value; }
72 inline void SetValues(PredefinedAttributeValues&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
74 inline UpdatePredefinedAttributeRequest& WithValues(PredefinedAttributeValues&& value) { SetValues(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_instanceId;
79 bool m_instanceIdHasBeenSet = false;
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
85 bool m_valuesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Connect
90} // namespace Aws
UpdatePredefinedAttributeRequest & WithValues(PredefinedAttributeValues &&value)
UpdatePredefinedAttributeRequest & WithValues(const PredefinedAttributeValues &value)
UpdatePredefinedAttributeRequest & WithInstanceId(Aws::String &&value)
UpdatePredefinedAttributeRequest & WithInstanceId(const char *value)
UpdatePredefinedAttributeRequest & WithName(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdatePredefinedAttributeRequest & WithName(const char *value)
UpdatePredefinedAttributeRequest & WithInstanceId(const Aws::String &value)
UpdatePredefinedAttributeRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String