AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateImagePermissionsRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appstream/model/ImagePermissions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppStream
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPSTREAM_API UpdateImagePermissionsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateImagePermissions"; }
32
33 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline UpdateImagePermissionsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline UpdateImagePermissionsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline UpdateImagePermissionsRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
57 inline const Aws::String& GetSharedAccountId() const{ return m_sharedAccountId; }
58 inline bool SharedAccountIdHasBeenSet() const { return m_sharedAccountIdHasBeenSet; }
59 inline void SetSharedAccountId(const Aws::String& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = value; }
60 inline void SetSharedAccountId(Aws::String&& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = std::move(value); }
61 inline void SetSharedAccountId(const char* value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId.assign(value); }
63 inline UpdateImagePermissionsRequest& WithSharedAccountId(Aws::String&& value) { SetSharedAccountId(std::move(value)); return *this;}
64 inline UpdateImagePermissionsRequest& WithSharedAccountId(const char* value) { SetSharedAccountId(value); return *this;}
66
68
71 inline const ImagePermissions& GetImagePermissions() const{ return m_imagePermissions; }
72 inline bool ImagePermissionsHasBeenSet() const { return m_imagePermissionsHasBeenSet; }
73 inline void SetImagePermissions(const ImagePermissions& value) { m_imagePermissionsHasBeenSet = true; m_imagePermissions = value; }
74 inline void SetImagePermissions(ImagePermissions&& value) { m_imagePermissionsHasBeenSet = true; m_imagePermissions = std::move(value); }
78 private:
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
83 Aws::String m_sharedAccountId;
84 bool m_sharedAccountIdHasBeenSet = false;
85
86 ImagePermissions m_imagePermissions;
87 bool m_imagePermissionsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace AppStream
92} // namespace Aws
UpdateImagePermissionsRequest & WithSharedAccountId(const char *value)
UpdateImagePermissionsRequest & WithImagePermissions(ImagePermissions &&value)
UpdateImagePermissionsRequest & WithName(Aws::String &&value)
UpdateImagePermissionsRequest & WithSharedAccountId(Aws::String &&value)
UpdateImagePermissionsRequest & WithName(const char *value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
UpdateImagePermissionsRequest & WithSharedAccountId(const Aws::String &value)
UpdateImagePermissionsRequest & WithImagePermissions(const ImagePermissions &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateImagePermissionsRequest & WithName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String