AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppInstanceAdmin.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/Identity.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.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 Chime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CHIME_API AppInstanceAdmin();
40 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Identity& GetAdmin() const{ return m_admin; }
48 inline bool AdminHasBeenSet() const { return m_adminHasBeenSet; }
49 inline void SetAdmin(const Identity& value) { m_adminHasBeenSet = true; m_admin = value; }
50 inline void SetAdmin(Identity&& value) { m_adminHasBeenSet = true; m_admin = std::move(value); }
51 inline AppInstanceAdmin& WithAdmin(const Identity& value) { SetAdmin(value); return *this;}
52 inline AppInstanceAdmin& WithAdmin(Identity&& value) { SetAdmin(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetAppInstanceArn() const{ return m_appInstanceArn; }
61 inline bool AppInstanceArnHasBeenSet() const { return m_appInstanceArnHasBeenSet; }
62 inline void SetAppInstanceArn(const Aws::String& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = value; }
63 inline void SetAppInstanceArn(Aws::String&& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = std::move(value); }
64 inline void SetAppInstanceArn(const char* value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn.assign(value); }
65 inline AppInstanceAdmin& WithAppInstanceArn(const Aws::String& value) { SetAppInstanceArn(value); return *this;}
66 inline AppInstanceAdmin& WithAppInstanceArn(Aws::String&& value) { SetAppInstanceArn(std::move(value)); return *this;}
67 inline AppInstanceAdmin& WithAppInstanceArn(const char* value) { SetAppInstanceArn(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
75 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
76 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
77 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
79 inline AppInstanceAdmin& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
81 private:
82
83 Identity m_admin;
84 bool m_adminHasBeenSet = false;
85
86 Aws::String m_appInstanceArn;
87 bool m_appInstanceArnHasBeenSet = false;
88
89 Aws::Utils::DateTime m_createdTimestamp;
90 bool m_createdTimestampHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Chime
95} // namespace Aws
AppInstanceAdmin & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
AppInstanceAdmin & WithAppInstanceArn(const char *value)
AppInstanceAdmin & WithAdmin(Identity &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetAppInstanceArn() const
AppInstanceAdmin & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
AWS_CHIME_API AppInstanceAdmin(Aws::Utils::Json::JsonView jsonValue)
const Identity & GetAdmin() const
AppInstanceAdmin & WithAppInstanceArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
AppInstanceAdmin & WithAppInstanceArn(const Aws::String &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
AppInstanceAdmin & WithAdmin(const Identity &value)
void SetAppInstanceArn(const char *value)
void SetAppInstanceArn(Aws::String &&value)
void SetAdmin(const Identity &value)
void SetAppInstanceArn(const Aws::String &value)
AWS_CHIME_API AppInstanceAdmin & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue