AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
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:
25 AWS_CONNECT_API UpdatePredefinedAttributeRequest() = default;
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 template<typename InstanceIdT = Aws::String>
44 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
45 template<typename InstanceIdT = Aws::String>
46 UpdatePredefinedAttributeRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 UpdatePredefinedAttributeRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
65 inline const PredefinedAttributeValues& GetValues() const { return m_values; }
66 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
67 template<typename ValuesT = PredefinedAttributeValues>
68 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
69 template<typename ValuesT = PredefinedAttributeValues>
70 UpdatePredefinedAttributeRequest& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
72 private:
73
74 Aws::String m_instanceId;
75 bool m_instanceIdHasBeenSet = false;
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79
81 bool m_valuesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Connect
86} // namespace Aws
UpdatePredefinedAttributeRequest & WithValues(ValuesT &&value)
UpdatePredefinedAttributeRequest & WithName(NameT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdatePredefinedAttributeRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API UpdatePredefinedAttributeRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String