AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCaseResult.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/connectcases/model/FieldValue.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ConnectCases
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CONNECTCASES_API GetCaseResult();
36
37
39
42 inline const Aws::Vector<FieldValue>& GetFields() const{ return m_fields; }
43 inline void SetFields(const Aws::Vector<FieldValue>& value) { m_fields = value; }
44 inline void SetFields(Aws::Vector<FieldValue>&& value) { m_fields = std::move(value); }
45 inline GetCaseResult& WithFields(const Aws::Vector<FieldValue>& value) { SetFields(value); return *this;}
46 inline GetCaseResult& WithFields(Aws::Vector<FieldValue>&& value) { SetFields(std::move(value)); return *this;}
47 inline GetCaseResult& AddFields(const FieldValue& value) { m_fields.push_back(value); return *this; }
48 inline GetCaseResult& AddFields(FieldValue&& value) { m_fields.push_back(std::move(value)); return *this; }
50
52
56 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
57 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
58 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
59 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
60 inline GetCaseResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 inline GetCaseResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 inline GetCaseResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
64
66
70 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
71 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
72 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
73 inline GetCaseResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
74 inline GetCaseResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
75 inline GetCaseResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
76 inline GetCaseResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
77 inline GetCaseResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
78 inline GetCaseResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
79 inline GetCaseResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
80 inline GetCaseResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
81 inline GetCaseResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
83
85
88 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
89 inline void SetTemplateId(const Aws::String& value) { m_templateId = value; }
90 inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); }
91 inline void SetTemplateId(const char* value) { m_templateId.assign(value); }
92 inline GetCaseResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
93 inline GetCaseResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
94 inline GetCaseResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline GetCaseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline GetCaseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline GetCaseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
110
111 Aws::String m_nextToken;
112
114
115 Aws::String m_templateId;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace ConnectCases
122} // namespace Aws
const Aws::String & GetRequestId() const
void SetTemplateId(Aws::String &&value)
GetCaseResult & WithNextToken(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetCaseResult & AddTags(const char *key, const char *value)
void SetRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetTemplateId() const
AWS_CONNECTCASES_API GetCaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECTCASES_API GetCaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTemplateId(const Aws::String &value)
GetCaseResult & WithNextToken(const Aws::String &value)
AWS_CONNECTCASES_API GetCaseResult()
void SetNextToken(Aws::String &&value)
GetCaseResult & WithTemplateId(const char *value)
GetCaseResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetFields(Aws::Vector< FieldValue > &&value)
void SetFields(const Aws::Vector< FieldValue > &value)
GetCaseResult & WithRequestId(const Aws::String &value)
GetCaseResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetRequestId(Aws::String &&value)
GetCaseResult & WithTemplateId(const Aws::String &value)
const Aws::String & GetNextToken() const
GetCaseResult & AddTags(Aws::String &&key, Aws::String &&value)
GetCaseResult & AddFields(const FieldValue &value)
void SetNextToken(const Aws::String &value)
GetCaseResult & WithTemplateId(Aws::String &&value)
GetCaseResult & AddTags(Aws::String &&key, const char *value)
GetCaseResult & WithRequestId(const char *value)
GetCaseResult & WithRequestId(Aws::String &&value)
GetCaseResult & AddTags(const Aws::String &key, const Aws::String &value)
GetCaseResult & AddFields(FieldValue &&value)
GetCaseResult & WithFields(Aws::Vector< FieldValue > &&value)
GetCaseResult & WithFields(const Aws::Vector< FieldValue > &value)
GetCaseResult & AddTags(const char *key, Aws::String &&value)
void SetTemplateId(const char *value)
GetCaseResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetCaseResult & WithNextToken(Aws::String &&value)
GetCaseResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< FieldValue > & GetFields() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue