AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename TenantIdentifierT = Aws::String>
47 void SetTenantIdentifier(TenantIdentifierT&& value) { m_tenantIdentifierHasBeenSet = true; m_tenantIdentifier = std::forward<TenantIdentifierT>(value); }
48 template<typename TenantIdentifierT = Aws::String>
49 Tenant& WithTenantIdentifier(TenantIdentifierT&& value) { SetTenantIdentifier(std::forward<TenantIdentifierT>(value)); return *this;}
51
53
56 inline const Aws::String& GetTenantDisplayName() const { return m_tenantDisplayName; }
57 inline bool TenantDisplayNameHasBeenSet() const { return m_tenantDisplayNameHasBeenSet; }
58 template<typename TenantDisplayNameT = Aws::String>
59 void SetTenantDisplayName(TenantDisplayNameT&& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = std::forward<TenantDisplayNameT>(value); }
60 template<typename TenantDisplayNameT = Aws::String>
61 Tenant& WithTenantDisplayName(TenantDisplayNameT&& value) { SetTenantDisplayName(std::forward<TenantDisplayNameT>(value)); return *this;}
63 private:
64
65 Aws::String m_tenantIdentifier;
66 bool m_tenantIdentifierHasBeenSet = false;
67
68 Aws::String m_tenantDisplayName;
69 bool m_tenantDisplayNameHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace AppFabric
74} // namespace Aws
bool TenantIdentifierHasBeenSet() const
Definition Tenant.h:45
Tenant & WithTenantIdentifier(TenantIdentifierT &&value)
Definition Tenant.h:49
const Aws::String & GetTenantIdentifier() const
Definition Tenant.h:44
AWS_APPFABRIC_API Tenant()=default
void SetTenantIdentifier(TenantIdentifierT &&value)
Definition Tenant.h:47
AWS_APPFABRIC_API Tenant(Aws::Utils::Json::JsonView jsonValue)
bool TenantDisplayNameHasBeenSet() const
Definition Tenant.h:57
Tenant & WithTenantDisplayName(TenantDisplayNameT &&value)
Definition Tenant.h:61
void SetTenantDisplayName(TenantDisplayNameT &&value)
Definition Tenant.h:59
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:56
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue