AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Application.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CONNECT_API Application();
38 AWS_CONNECT_API Application(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetNamespace() const{ return m_namespace; }
48 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
49 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
50 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
51 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
52 inline Application& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
53 inline Application& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
54 inline Application& WithNamespace(const char* value) { SetNamespace(value); return *this;}
56
58
62 inline const Aws::Vector<Aws::String>& GetApplicationPermissions() const{ return m_applicationPermissions; }
63 inline bool ApplicationPermissionsHasBeenSet() const { return m_applicationPermissionsHasBeenSet; }
64 inline void SetApplicationPermissions(const Aws::Vector<Aws::String>& value) { m_applicationPermissionsHasBeenSet = true; m_applicationPermissions = value; }
65 inline void SetApplicationPermissions(Aws::Vector<Aws::String>&& value) { m_applicationPermissionsHasBeenSet = true; m_applicationPermissions = std::move(value); }
68 inline Application& AddApplicationPermissions(const Aws::String& value) { m_applicationPermissionsHasBeenSet = true; m_applicationPermissions.push_back(value); return *this; }
69 inline Application& AddApplicationPermissions(Aws::String&& value) { m_applicationPermissionsHasBeenSet = true; m_applicationPermissions.push_back(std::move(value)); return *this; }
70 inline Application& AddApplicationPermissions(const char* value) { m_applicationPermissionsHasBeenSet = true; m_applicationPermissions.push_back(value); return *this; }
72 private:
73
74 Aws::String m_namespace;
75 bool m_namespaceHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_applicationPermissions;
78 bool m_applicationPermissionsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Connect
83} // namespace Aws
void SetNamespace(Aws::String &&value)
Definition Application.h:50
void SetApplicationPermissions(Aws::Vector< Aws::String > &&value)
Definition Application.h:65
void SetNamespace(const char *value)
Definition Application.h:51
Application & WithNamespace(const char *value)
Definition Application.h:54
bool ApplicationPermissionsHasBeenSet() const
Definition Application.h:63
void SetNamespace(const Aws::String &value)
Definition Application.h:49
const Aws::Vector< Aws::String > & GetApplicationPermissions() const
Definition Application.h:62
AWS_CONNECT_API Application(Aws::Utils::Json::JsonView jsonValue)
Application & AddApplicationPermissions(const char *value)
Definition Application.h:70
const Aws::String & GetNamespace() const
Definition Application.h:47
void SetApplicationPermissions(const Aws::Vector< Aws::String > &value)
Definition Application.h:64
Application & WithNamespace(const Aws::String &value)
Definition Application.h:52
Application & AddApplicationPermissions(const Aws::String &value)
Definition Application.h:68
Application & WithNamespace(Aws::String &&value)
Definition Application.h:53
Application & WithApplicationPermissions(const Aws::Vector< Aws::String > &value)
Definition Application.h:66
AWS_CONNECT_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
Application & AddApplicationPermissions(Aws::String &&value)
Definition Application.h:69
Application & WithApplicationPermissions(Aws::Vector< Aws::String > &&value)
Definition Application.h:67
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue