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/cognito-sync/CognitoSync_EXPORTS.h>
8 #include <aws/cognito-sync/CognitoSyncRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CognitoSync
15 {
16 namespace Model
17 {
18 
19   /**
20    * The input for the BulkPublish operation.<p><h3>See Also:</h3>   <a
21    * href="http://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/BulkPublishRequest">AWS
22    * API Reference</a></p>
23    */
24   class AWS_COGNITOSYNC_API BulkPublishRequest : public CognitoSyncRequest
25   {
26   public:
27     BulkPublishRequest();
28 
29     // Service request name is the Operation name which will send this request out,
30     // each operation should has unique request name, so that we can get operation's name from this request.
31     // Note: this is not true for response, multiple operations may have the same response name,
32     // so we can not get operation's name from response.
GetServiceRequestName()33     inline virtual const char* GetServiceRequestName() const override { return "BulkPublish"; }
34 
35     Aws::String SerializePayload() const override;
36 
37 
38     /**
39      * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
40      * created by Amazon Cognito. GUID generation is unique within a region.
41      */
GetIdentityPoolId()42     inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
43 
44     /**
45      * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
46      * created by Amazon Cognito. GUID generation is unique within a region.
47      */
IdentityPoolIdHasBeenSet()48     inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
49 
50     /**
51      * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
52      * created by Amazon Cognito. GUID generation is unique within a region.
53      */
SetIdentityPoolId(const Aws::String & value)54     inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
55 
56     /**
57      * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
58      * created by Amazon Cognito. GUID generation is unique within a region.
59      */
SetIdentityPoolId(Aws::String && value)60     inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
61 
62     /**
63      * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
64      * created by Amazon Cognito. GUID generation is unique within a region.
65      */
SetIdentityPoolId(const char * value)66     inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
67 
68     /**
69      * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
70      * created by Amazon Cognito. GUID generation is unique within a region.
71      */
WithIdentityPoolId(const Aws::String & value)72     inline BulkPublishRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
73 
74     /**
75      * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
76      * created by Amazon Cognito. GUID generation is unique within a region.
77      */
WithIdentityPoolId(Aws::String && value)78     inline BulkPublishRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
79 
80     /**
81      * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
82      * created by Amazon Cognito. GUID generation is unique within a region.
83      */
WithIdentityPoolId(const char * value)84     inline BulkPublishRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
85 
86   private:
87 
88     Aws::String m_identityPoolId;
89     bool m_identityPoolIdHasBeenSet;
90   };
91 
92 } // namespace Model
93 } // namespace CognitoSync
94 } // namespace Aws
95