AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFieldRequest.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/ConnectCasesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ConnectCases
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CONNECTCASES_API UpdateFieldRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateField"; }
31
32 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDescription() const{ return m_description; }
40 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
41 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
42 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
43 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
44 inline UpdateFieldRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
45 inline UpdateFieldRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
46 inline UpdateFieldRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
48
50
53 inline const Aws::String& GetDomainId() const{ return m_domainId; }
54 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
55 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
56 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
57 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
58 inline UpdateFieldRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
59 inline UpdateFieldRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
60 inline UpdateFieldRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
62
64
67 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
68 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
69 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
70 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
71 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
72 inline UpdateFieldRequest& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
73 inline UpdateFieldRequest& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
74 inline UpdateFieldRequest& WithFieldId(const char* value) { SetFieldId(value); return *this;}
76
78
81 inline const Aws::String& GetName() const{ return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
85 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 inline UpdateFieldRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
87 inline UpdateFieldRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 inline UpdateFieldRequest& WithName(const char* value) { SetName(value); return *this;}
90 private:
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
95 Aws::String m_domainId;
96 bool m_domainIdHasBeenSet = false;
97
98 Aws::String m_fieldId;
99 bool m_fieldIdHasBeenSet = false;
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ConnectCases
107} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
UpdateFieldRequest & WithFieldId(const Aws::String &value)
void SetDescription(const Aws::String &value)
UpdateFieldRequest & WithDescription(const char *value)
UpdateFieldRequest & WithDescription(const Aws::String &value)
UpdateFieldRequest & WithName(const char *value)
UpdateFieldRequest & WithFieldId(Aws::String &&value)
UpdateFieldRequest & WithDomainId(const Aws::String &value)
UpdateFieldRequest & WithDescription(Aws::String &&value)
UpdateFieldRequest & WithDomainId(Aws::String &&value)
UpdateFieldRequest & WithName(const Aws::String &value)
UpdateFieldRequest & WithName(Aws::String &&value)
UpdateFieldRequest & WithFieldId(const char *value)
UpdateFieldRequest & WithDomainId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String