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/signer/Signer_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20   class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace signer
24 {
25 namespace Model
26 {
27   class AWS_SIGNER_API AddProfilePermissionResult
28   {
29   public:
30     AddProfilePermissionResult();
31     AddProfilePermissionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     AddProfilePermissionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>A unique identifier for the current profile revision.</p>
37      */
GetRevisionId()38     inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
39 
40     /**
41      * <p>A unique identifier for the current profile revision.</p>
42      */
SetRevisionId(const Aws::String & value)43     inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
44 
45     /**
46      * <p>A unique identifier for the current profile revision.</p>
47      */
SetRevisionId(Aws::String && value)48     inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
49 
50     /**
51      * <p>A unique identifier for the current profile revision.</p>
52      */
SetRevisionId(const char * value)53     inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
54 
55     /**
56      * <p>A unique identifier for the current profile revision.</p>
57      */
WithRevisionId(const Aws::String & value)58     inline AddProfilePermissionResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
59 
60     /**
61      * <p>A unique identifier for the current profile revision.</p>
62      */
WithRevisionId(Aws::String && value)63     inline AddProfilePermissionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
64 
65     /**
66      * <p>A unique identifier for the current profile revision.</p>
67      */
WithRevisionId(const char * value)68     inline AddProfilePermissionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
69 
70   private:
71 
72     Aws::String m_revisionId;
73   };
74 
75 } // namespace Model
76 } // namespace signer
77 } // namespace Aws
78