AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecentCaseCommunications.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/support/model/Communication.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Support
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SUPPORT_API RecentCaseCommunications();
40 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Communication>& GetCommunications() const{ return m_communications; }
48 inline bool CommunicationsHasBeenSet() const { return m_communicationsHasBeenSet; }
49 inline void SetCommunications(const Aws::Vector<Communication>& value) { m_communicationsHasBeenSet = true; m_communications = value; }
50 inline void SetCommunications(Aws::Vector<Communication>&& value) { m_communicationsHasBeenSet = true; m_communications = std::move(value); }
53 inline RecentCaseCommunications& AddCommunications(const Communication& value) { m_communicationsHasBeenSet = true; m_communications.push_back(value); return *this; }
54 inline RecentCaseCommunications& AddCommunications(Communication&& value) { m_communicationsHasBeenSet = true; m_communications.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
65 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
66 inline RecentCaseCommunications& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 inline RecentCaseCommunications& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
68 inline RecentCaseCommunications& WithNextToken(const char* value) { SetNextToken(value); return *this;}
70 private:
71
72 Aws::Vector<Communication> m_communications;
73 bool m_communicationsHasBeenSet = false;
74
75 Aws::String m_nextToken;
76 bool m_nextTokenHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Support
81} // namespace Aws
RecentCaseCommunications & AddCommunications(Communication &&value)
void SetCommunications(Aws::Vector< Communication > &&value)
AWS_SUPPORT_API RecentCaseCommunications & operator=(Aws::Utils::Json::JsonView jsonValue)
RecentCaseCommunications & AddCommunications(const Communication &value)
void SetCommunications(const Aws::Vector< Communication > &value)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
RecentCaseCommunications & WithNextToken(const char *value)
RecentCaseCommunications & WithCommunications(Aws::Vector< Communication > &&value)
RecentCaseCommunications & WithCommunications(const Aws::Vector< Communication > &value)
AWS_SUPPORT_API RecentCaseCommunications(Aws::Utils::Json::JsonView jsonValue)
RecentCaseCommunications & WithNextToken(Aws::String &&value)
const Aws::Vector< Communication > & GetCommunications() const
RecentCaseCommunications & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue