1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/nimble/NimbleStudio_EXPORTS.h> 8 #include <aws/nimble/NimbleStudioRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace NimbleStudio 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_NIMBLESTUDIO_API GetLaunchProfileMemberRequest : public NimbleStudioRequest 22 { 23 public: 24 GetLaunchProfileMemberRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "GetLaunchProfileMember"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The launch profile ID.</p> 37 */ GetLaunchProfileId()38 inline const Aws::String& GetLaunchProfileId() const{ return m_launchProfileId; } 39 40 /** 41 * <p>The launch profile ID.</p> 42 */ LaunchProfileIdHasBeenSet()43 inline bool LaunchProfileIdHasBeenSet() const { return m_launchProfileIdHasBeenSet; } 44 45 /** 46 * <p>The launch profile ID.</p> 47 */ SetLaunchProfileId(const Aws::String & value)48 inline void SetLaunchProfileId(const Aws::String& value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId = value; } 49 50 /** 51 * <p>The launch profile ID.</p> 52 */ SetLaunchProfileId(Aws::String && value)53 inline void SetLaunchProfileId(Aws::String&& value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId = std::move(value); } 54 55 /** 56 * <p>The launch profile ID.</p> 57 */ SetLaunchProfileId(const char * value)58 inline void SetLaunchProfileId(const char* value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId.assign(value); } 59 60 /** 61 * <p>The launch profile ID.</p> 62 */ WithLaunchProfileId(const Aws::String & value)63 inline GetLaunchProfileMemberRequest& WithLaunchProfileId(const Aws::String& value) { SetLaunchProfileId(value); return *this;} 64 65 /** 66 * <p>The launch profile ID.</p> 67 */ WithLaunchProfileId(Aws::String && value)68 inline GetLaunchProfileMemberRequest& WithLaunchProfileId(Aws::String&& value) { SetLaunchProfileId(std::move(value)); return *this;} 69 70 /** 71 * <p>The launch profile ID.</p> 72 */ WithLaunchProfileId(const char * value)73 inline GetLaunchProfileMemberRequest& WithLaunchProfileId(const char* value) { SetLaunchProfileId(value); return *this;} 74 75 76 /** 77 * <p>The principal ID.</p> 78 */ GetPrincipalId()79 inline const Aws::String& GetPrincipalId() const{ return m_principalId; } 80 81 /** 82 * <p>The principal ID.</p> 83 */ PrincipalIdHasBeenSet()84 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } 85 86 /** 87 * <p>The principal ID.</p> 88 */ SetPrincipalId(const Aws::String & value)89 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } 90 91 /** 92 * <p>The principal ID.</p> 93 */ SetPrincipalId(Aws::String && value)94 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } 95 96 /** 97 * <p>The principal ID.</p> 98 */ SetPrincipalId(const char * value)99 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } 100 101 /** 102 * <p>The principal ID.</p> 103 */ WithPrincipalId(const Aws::String & value)104 inline GetLaunchProfileMemberRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} 105 106 /** 107 * <p>The principal ID.</p> 108 */ WithPrincipalId(Aws::String && value)109 inline GetLaunchProfileMemberRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} 110 111 /** 112 * <p>The principal ID.</p> 113 */ WithPrincipalId(const char * value)114 inline GetLaunchProfileMemberRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} 115 116 117 /** 118 * <p>The studio ID.</p> 119 */ GetStudioId()120 inline const Aws::String& GetStudioId() const{ return m_studioId; } 121 122 /** 123 * <p>The studio ID.</p> 124 */ StudioIdHasBeenSet()125 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; } 126 127 /** 128 * <p>The studio ID.</p> 129 */ SetStudioId(const Aws::String & value)130 inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; } 131 132 /** 133 * <p>The studio ID.</p> 134 */ SetStudioId(Aws::String && value)135 inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); } 136 137 /** 138 * <p>The studio ID.</p> 139 */ SetStudioId(const char * value)140 inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); } 141 142 /** 143 * <p>The studio ID.</p> 144 */ WithStudioId(const Aws::String & value)145 inline GetLaunchProfileMemberRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} 146 147 /** 148 * <p>The studio ID.</p> 149 */ WithStudioId(Aws::String && value)150 inline GetLaunchProfileMemberRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;} 151 152 /** 153 * <p>The studio ID.</p> 154 */ WithStudioId(const char * value)155 inline GetLaunchProfileMemberRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;} 156 157 private: 158 159 Aws::String m_launchProfileId; 160 bool m_launchProfileIdHasBeenSet; 161 162 Aws::String m_principalId; 163 bool m_principalIdHasBeenSet; 164 165 Aws::String m_studioId; 166 bool m_studioIdHasBeenSet; 167 }; 168 169 } // namespace Model 170 } // namespace NimbleStudio 171 } // namespace Aws 172