AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Tenant.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_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 AppFabric
22{
23namespace Model
24{
25
31 class Tenant
32 {
33 public:
34 AWS_APPFABRIC_API Tenant();
35 AWS_APPFABRIC_API Tenant(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPFABRIC_API Tenant& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetTenantIdentifier() const{ return m_tenantIdentifier; }
45 inline bool TenantIdentifierHasBeenSet() const { return m_tenantIdentifierHasBeenSet; }
46 inline void SetTenantIdentifier(const Aws::String& value) { m_tenantIdentifierHasBeenSet = true; m_tenantIdentifier = value; }
47 inline void SetTenantIdentifier(Aws::String&& value) { m_tenantIdentifierHasBeenSet = true; m_tenantIdentifier = std::move(value); }
48 inline void SetTenantIdentifier(const char* value) { m_tenantIdentifierHasBeenSet = true; m_tenantIdentifier.assign(value); }
49 inline Tenant& WithTenantIdentifier(const Aws::String& value) { SetTenantIdentifier(value); return *this;}
50 inline Tenant& WithTenantIdentifier(Aws::String&& value) { SetTenantIdentifier(std::move(value)); return *this;}
51 inline Tenant& WithTenantIdentifier(const char* value) { SetTenantIdentifier(value); return *this;}
53
55
58 inline const Aws::String& GetTenantDisplayName() const{ return m_tenantDisplayName; }
59 inline bool TenantDisplayNameHasBeenSet() const { return m_tenantDisplayNameHasBeenSet; }
60 inline void SetTenantDisplayName(const Aws::String& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = value; }
61 inline void SetTenantDisplayName(Aws::String&& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = std::move(value); }
62 inline void SetTenantDisplayName(const char* value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName.assign(value); }
63 inline Tenant& WithTenantDisplayName(const Aws::String& value) { SetTenantDisplayName(value); return *this;}
64 inline Tenant& WithTenantDisplayName(Aws::String&& value) { SetTenantDisplayName(std::move(value)); return *this;}
65 inline Tenant& WithTenantDisplayName(const char* value) { SetTenantDisplayName(value); return *this;}
67 private:
68
69 Aws::String m_tenantIdentifier;
70 bool m_tenantIdentifierHasBeenSet = false;
71
72 Aws::String m_tenantDisplayName;
73 bool m_tenantDisplayNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppFabric
78} // namespace Aws
bool TenantIdentifierHasBeenSet() const
Definition Tenant.h:45
Tenant & WithTenantIdentifier(const Aws::String &value)
Definition Tenant.h:49
void SetTenantDisplayName(const char *value)
Definition Tenant.h:62
Tenant & WithTenantDisplayName(const char *value)
Definition Tenant.h:65
void SetTenantIdentifier(Aws::String &&value)
Definition Tenant.h:47
const Aws::String & GetTenantIdentifier() const
Definition Tenant.h:44
void SetTenantIdentifier(const Aws::String &value)
Definition Tenant.h:46
Tenant & WithTenantDisplayName(const Aws::String &value)
Definition Tenant.h:63
void SetTenantIdentifier(const char *value)
Definition Tenant.h:48
Tenant & WithTenantIdentifier(Aws::String &&value)
Definition Tenant.h:50
Tenant & WithTenantDisplayName(Aws::String &&value)
Definition Tenant.h:64
void SetTenantDisplayName(const Aws::String &value)
Definition Tenant.h:60
Tenant & WithTenantIdentifier(const char *value)
Definition Tenant.h:51
AWS_APPFABRIC_API Tenant()
AWS_APPFABRIC_API Tenant(Aws::Utils::Json::JsonView jsonValue)
bool TenantDisplayNameHasBeenSet() const
Definition Tenant.h:59
void SetTenantDisplayName(Aws::String &&value)
Definition Tenant.h:61
AWS_APPFABRIC_API Tenant & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTenantDisplayName() const
Definition Tenant.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue