AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImagePermission.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_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 WorkSpaces
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_WORKSPACES_API ImagePermission();
38 AWS_WORKSPACES_API ImagePermission(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetSharedAccountId() const{ return m_sharedAccountId; }
49 inline bool SharedAccountIdHasBeenSet() const { return m_sharedAccountIdHasBeenSet; }
50 inline void SetSharedAccountId(const Aws::String& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = value; }
51 inline void SetSharedAccountId(Aws::String&& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = std::move(value); }
52 inline void SetSharedAccountId(const char* value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId.assign(value); }
53 inline ImagePermission& WithSharedAccountId(const Aws::String& value) { SetSharedAccountId(value); return *this;}
54 inline ImagePermission& WithSharedAccountId(Aws::String&& value) { SetSharedAccountId(std::move(value)); return *this;}
55 inline ImagePermission& WithSharedAccountId(const char* value) { SetSharedAccountId(value); return *this;}
57 private:
58
59 Aws::String m_sharedAccountId;
60 bool m_sharedAccountIdHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace WorkSpaces
65} // namespace Aws
void SetSharedAccountId(const Aws::String &value)
void SetSharedAccountId(const char *value)
AWS_WORKSPACES_API ImagePermission & operator=(Aws::Utils::Json::JsonView jsonValue)
ImagePermission & WithSharedAccountId(Aws::String &&value)
void SetSharedAccountId(Aws::String &&value)
AWS_WORKSPACES_API ImagePermission(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSharedAccountId() const
ImagePermission & WithSharedAccountId(const char *value)
ImagePermission & WithSharedAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue