AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SharedImagePermissions.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appstream/model/ImagePermissions.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 AppStream
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPSTREAM_API SharedImagePermissions();
39 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetSharedAccountId() const{ return m_sharedAccountId; }
48 inline bool SharedAccountIdHasBeenSet() const { return m_sharedAccountIdHasBeenSet; }
49 inline void SetSharedAccountId(const Aws::String& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = value; }
50 inline void SetSharedAccountId(Aws::String&& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = std::move(value); }
51 inline void SetSharedAccountId(const char* value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId.assign(value); }
52 inline SharedImagePermissions& WithSharedAccountId(const Aws::String& value) { SetSharedAccountId(value); return *this;}
53 inline SharedImagePermissions& WithSharedAccountId(Aws::String&& value) { SetSharedAccountId(std::move(value)); return *this;}
54 inline SharedImagePermissions& WithSharedAccountId(const char* value) { SetSharedAccountId(value); return *this;}
56
58
61 inline const ImagePermissions& GetImagePermissions() const{ return m_imagePermissions; }
62 inline bool ImagePermissionsHasBeenSet() const { return m_imagePermissionsHasBeenSet; }
63 inline void SetImagePermissions(const ImagePermissions& value) { m_imagePermissionsHasBeenSet = true; m_imagePermissions = value; }
64 inline void SetImagePermissions(ImagePermissions&& value) { m_imagePermissionsHasBeenSet = true; m_imagePermissions = std::move(value); }
66 inline SharedImagePermissions& WithImagePermissions(ImagePermissions&& value) { SetImagePermissions(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_sharedAccountId;
71 bool m_sharedAccountIdHasBeenSet = false;
72
73 ImagePermissions m_imagePermissions;
74 bool m_imagePermissionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppStream
79} // namespace Aws
const ImagePermissions & GetImagePermissions() const
AWS_APPSTREAM_API SharedImagePermissions & operator=(Aws::Utils::Json::JsonView jsonValue)
SharedImagePermissions & WithImagePermissions(ImagePermissions &&value)
SharedImagePermissions & WithSharedAccountId(const Aws::String &value)
SharedImagePermissions & WithSharedAccountId(const char *value)
SharedImagePermissions & WithImagePermissions(const ImagePermissions &value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
SharedImagePermissions & WithSharedAccountId(Aws::String &&value)
AWS_APPSTREAM_API SharedImagePermissions(Aws::Utils::Json::JsonView jsonValue)
void SetImagePermissions(const ImagePermissions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue