AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeDatasetRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace CognitoSync
23 {
24 namespace Model
25 {
26 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
41  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
42 
47  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
48 
53  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
54 
59  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
60 
65  inline DescribeDatasetRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
66 
71  inline DescribeDatasetRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(value); return *this;}
72 
77  inline DescribeDatasetRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
78 
83  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
84 
89  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
90 
95  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
96 
101  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
102 
107  inline DescribeDatasetRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
108 
113  inline DescribeDatasetRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(value); return *this;}
114 
119  inline DescribeDatasetRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
120 
125  inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
126 
131  inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
132 
137  inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
138 
143  inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
144 
149  inline DescribeDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
150 
155  inline DescribeDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(value); return *this;}
156 
161  inline DescribeDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
162 
163  private:
164  Aws::String m_identityPoolId;
165  bool m_identityPoolIdHasBeenSet;
166  Aws::String m_identityId;
167  bool m_identityIdHasBeenSet;
168  Aws::String m_datasetName;
169  bool m_datasetNameHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace CognitoSync
174 } // namespace Aws
DescribeDatasetRequest & WithDatasetName(const char *value)
DescribeDatasetRequest & WithIdentityId(const Aws::String &value)
DescribeDatasetRequest & WithIdentityPoolId(const Aws::String &value)
DescribeDatasetRequest & WithIdentityPoolId(const char *value)
DescribeDatasetRequest & WithIdentityPoolId(Aws::String &&value)
DescribeDatasetRequest & WithDatasetName(const Aws::String &value)
DescribeDatasetRequest & WithIdentityId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDatasetRequest & WithIdentityId(Aws::String &&value)
#define AWS_COGNITOSYNC_API
DescribeDatasetRequest & WithDatasetName(Aws::String &&value)
JSON (JavaScript Object Notation).