AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLensShareRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace WellArchitected
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WELLARCHITECTED_API CreateLensShareRequest();
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 "CreateLensShare"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35
37
38 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
39 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
40 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
41 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
42 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
43 inline CreateLensShareRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
44 inline CreateLensShareRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
45 inline CreateLensShareRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
47
49
50 inline const Aws::String& GetSharedWith() const{ return m_sharedWith; }
51 inline bool SharedWithHasBeenSet() const { return m_sharedWithHasBeenSet; }
52 inline void SetSharedWith(const Aws::String& value) { m_sharedWithHasBeenSet = true; m_sharedWith = value; }
53 inline void SetSharedWith(Aws::String&& value) { m_sharedWithHasBeenSet = true; m_sharedWith = std::move(value); }
54 inline void SetSharedWith(const char* value) { m_sharedWithHasBeenSet = true; m_sharedWith.assign(value); }
55 inline CreateLensShareRequest& WithSharedWith(const Aws::String& value) { SetSharedWith(value); return *this;}
56 inline CreateLensShareRequest& WithSharedWith(Aws::String&& value) { SetSharedWith(std::move(value)); return *this;}
57 inline CreateLensShareRequest& WithSharedWith(const char* value) { SetSharedWith(value); return *this;}
59
61
62 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
63 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
64 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
65 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
66 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
68 inline CreateLensShareRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
69 inline CreateLensShareRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
71 private:
72
73 Aws::String m_lensAlias;
74 bool m_lensAliasHasBeenSet = false;
75
76 Aws::String m_sharedWith;
77 bool m_sharedWithHasBeenSet = false;
78
79 Aws::String m_clientRequestToken;
80 bool m_clientRequestTokenHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace WellArchitected
85} // namespace Aws
CreateLensShareRequest & WithClientRequestToken(const char *value)
CreateLensShareRequest & WithSharedWith(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
CreateLensShareRequest & WithClientRequestToken(Aws::String &&value)
CreateLensShareRequest & WithSharedWith(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateLensShareRequest & WithClientRequestToken(const Aws::String &value)
CreateLensShareRequest & WithLensAlias(const Aws::String &value)
CreateLensShareRequest & WithSharedWith(const char *value)
CreateLensShareRequest & WithLensAlias(Aws::String &&value)
CreateLensShareRequest & WithLensAlias(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String