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/sesv2/SESV2_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 SESV2
24 {
25 namespace Model
26 {
27   /**
28    * <p>An HTTP 200 response if the request succeeds, or an error message if the
29    * request fails.</p><p><h3>See Also:</h3>   <a
30    * href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateImportJobResponse">AWS
31    * API Reference</a></p>
32    */
33   class AWS_SESV2_API CreateImportJobResult
34   {
35   public:
36     CreateImportJobResult();
37     CreateImportJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
38     CreateImportJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
39 
40 
41     /**
42      * <p>A string that represents the import job ID.</p>
43      */
GetJobId()44     inline const Aws::String& GetJobId() const{ return m_jobId; }
45 
46     /**
47      * <p>A string that represents the import job ID.</p>
48      */
SetJobId(const Aws::String & value)49     inline void SetJobId(const Aws::String& value) { m_jobId = value; }
50 
51     /**
52      * <p>A string that represents the import job ID.</p>
53      */
SetJobId(Aws::String && value)54     inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
55 
56     /**
57      * <p>A string that represents the import job ID.</p>
58      */
SetJobId(const char * value)59     inline void SetJobId(const char* value) { m_jobId.assign(value); }
60 
61     /**
62      * <p>A string that represents the import job ID.</p>
63      */
WithJobId(const Aws::String & value)64     inline CreateImportJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
65 
66     /**
67      * <p>A string that represents the import job ID.</p>
68      */
WithJobId(Aws::String && value)69     inline CreateImportJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
70 
71     /**
72      * <p>A string that represents the import job ID.</p>
73      */
WithJobId(const char * value)74     inline CreateImportJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
75 
76   private:
77 
78     Aws::String m_jobId;
79   };
80 
81 } // namespace Model
82 } // namespace SESV2
83 } // namespace Aws
84