AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CaseSummary.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectCases
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECTCASES_API CaseSummary();
35 AWS_CONNECTCASES_API CaseSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECTCASES_API CaseSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCaseId() const{ return m_caseId; }
45 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
46 inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
47 inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); }
48 inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
49 inline CaseSummary& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
50 inline CaseSummary& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;}
51 inline CaseSummary& WithCaseId(const char* value) { SetCaseId(value); return *this;}
53
55
58 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
59 inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
60 inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
61 inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
62 inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
63 inline CaseSummary& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
64 inline CaseSummary& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
65 inline CaseSummary& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
67 private:
68
69 Aws::String m_caseId;
70 bool m_caseIdHasBeenSet = false;
71
72 Aws::String m_templateId;
73 bool m_templateIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ConnectCases
78} // namespace Aws
void SetCaseId(const Aws::String &value)
Definition CaseSummary.h:46
void SetTemplateId(Aws::String &&value)
Definition CaseSummary.h:61
void SetCaseId(Aws::String &&value)
Definition CaseSummary.h:47
CaseSummary & WithCaseId(const char *value)
Definition CaseSummary.h:51
CaseSummary & WithTemplateId(const char *value)
Definition CaseSummary.h:65
void SetTemplateId(const Aws::String &value)
Definition CaseSummary.h:60
CaseSummary & WithCaseId(Aws::String &&value)
Definition CaseSummary.h:50
void SetTemplateId(const char *value)
Definition CaseSummary.h:62
CaseSummary & WithTemplateId(Aws::String &&value)
Definition CaseSummary.h:64
const Aws::String & GetTemplateId() const
Definition CaseSummary.h:58
AWS_CONNECTCASES_API CaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCASES_API CaseSummary()
CaseSummary & WithCaseId(const Aws::String &value)
Definition CaseSummary.h:49
CaseSummary & WithTemplateId(const Aws::String &value)
Definition CaseSummary.h:63
const Aws::String & GetCaseId() const
Definition CaseSummary.h:44
void SetCaseId(const char *value)
Definition CaseSummary.h:48
AWS_CONNECTCASES_API CaseSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue