AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFieldRequest.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 <aws/connectcases/model/FieldType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConnectCases
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECTCASES_API CreateFieldRequest();
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 "CreateField"; }
32
33 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDescription() const{ return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
45 inline CreateFieldRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline CreateFieldRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline CreateFieldRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
54 inline const Aws::String& GetDomainId() const{ return m_domainId; }
55 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
56 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
57 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
58 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
59 inline CreateFieldRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
60 inline CreateFieldRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
61 inline CreateFieldRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 inline CreateFieldRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline CreateFieldRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline CreateFieldRequest& WithName(const char* value) { SetName(value); return *this;}
77
79
83 inline const FieldType& GetType() const{ return m_type; }
84 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
85 inline void SetType(const FieldType& value) { m_typeHasBeenSet = true; m_type = value; }
86 inline void SetType(FieldType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
87 inline CreateFieldRequest& WithType(const FieldType& value) { SetType(value); return *this;}
88 inline CreateFieldRequest& WithType(FieldType&& value) { SetType(std::move(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_name;
99 bool m_nameHasBeenSet = false;
100
101 FieldType m_type;
102 bool m_typeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ConnectCases
107} // namespace Aws
CreateFieldRequest & WithDomainId(Aws::String &&value)
CreateFieldRequest & WithType(const FieldType &value)
CreateFieldRequest & WithType(FieldType &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
CreateFieldRequest & WithName(const char *value)
CreateFieldRequest & WithDomainId(const char *value)
CreateFieldRequest & WithDomainId(const Aws::String &value)
CreateFieldRequest & WithDescription(Aws::String &&value)
CreateFieldRequest & WithName(Aws::String &&value)
CreateFieldRequest & WithDescription(const char *value)
CreateFieldRequest & WithName(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateFieldRequest & WithDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String