AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename LensAliasT = Aws::String>
41 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
42 template<typename LensAliasT = Aws::String>
43 CreateLensShareRequest& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
45
47
48 inline const Aws::String& GetSharedWith() const { return m_sharedWith; }
49 inline bool SharedWithHasBeenSet() const { return m_sharedWithHasBeenSet; }
50 template<typename SharedWithT = Aws::String>
51 void SetSharedWith(SharedWithT&& value) { m_sharedWithHasBeenSet = true; m_sharedWith = std::forward<SharedWithT>(value); }
52 template<typename SharedWithT = Aws::String>
53 CreateLensShareRequest& WithSharedWith(SharedWithT&& value) { SetSharedWith(std::forward<SharedWithT>(value)); return *this;}
55
57
58 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
59 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
60 template<typename ClientRequestTokenT = Aws::String>
61 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
62 template<typename ClientRequestTokenT = Aws::String>
63 CreateLensShareRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
65 private:
66
67 Aws::String m_lensAlias;
68 bool m_lensAliasHasBeenSet = false;
69
70 Aws::String m_sharedWith;
71 bool m_sharedWithHasBeenSet = false;
72
73 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
74 bool m_clientRequestTokenHasBeenSet = true;
75 };
76
77} // namespace Model
78} // namespace WellArchitected
79} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
CreateLensShareRequest & WithSharedWith(SharedWithT &&value)
virtual const char * GetServiceRequestName() const override
CreateLensShareRequest & WithLensAlias(LensAliasT &&value)
CreateLensShareRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_WELLARCHITECTED_API CreateLensShareRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String