AWS SDK for C++  0.14.3
AWS SDK for C++
SetIdentityPoolConfigurationRequest.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
21 
22 namespace Aws
23 {
24 namespace CognitoSync
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
43  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
44 
50  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
51 
57  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
58 
64  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
65 
71  inline SetIdentityPoolConfigurationRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
72 
78  inline SetIdentityPoolConfigurationRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(value); return *this;}
79 
85  inline SetIdentityPoolConfigurationRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
86 
90  inline const PushSync& GetPushSync() const{ return m_pushSync; }
91 
95  inline void SetPushSync(const PushSync& value) { m_pushSyncHasBeenSet = true; m_pushSync = value; }
96 
100  inline void SetPushSync(PushSync&& value) { m_pushSyncHasBeenSet = true; m_pushSync = value; }
101 
105  inline SetIdentityPoolConfigurationRequest& WithPushSync(const PushSync& value) { SetPushSync(value); return *this;}
106 
110  inline SetIdentityPoolConfigurationRequest& WithPushSync(PushSync&& value) { SetPushSync(value); return *this;}
111 
115  inline const CognitoStreams& GetCognitoStreams() const{ return m_cognitoStreams; }
116 
120  inline void SetCognitoStreams(const CognitoStreams& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = value; }
121 
125  inline void SetCognitoStreams(CognitoStreams&& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = value; }
126 
130  inline SetIdentityPoolConfigurationRequest& WithCognitoStreams(const CognitoStreams& value) { SetCognitoStreams(value); return *this;}
131 
135  inline SetIdentityPoolConfigurationRequest& WithCognitoStreams(CognitoStreams&& value) { SetCognitoStreams(value); return *this;}
136 
137  private:
138  Aws::String m_identityPoolId;
139  bool m_identityPoolIdHasBeenSet;
140  PushSync m_pushSync;
141  bool m_pushSyncHasBeenSet;
142  CognitoStreams m_cognitoStreams;
143  bool m_cognitoStreamsHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace CognitoSync
148 } // namespace Aws
SetIdentityPoolConfigurationRequest & WithCognitoStreams(const CognitoStreams &value)
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(Aws::String &&value)
SetIdentityPoolConfigurationRequest & WithPushSync(const PushSync &value)
SetIdentityPoolConfigurationRequest & WithCognitoStreams(CognitoStreams &&value)
SetIdentityPoolConfigurationRequest & WithPushSync(PushSync &&value)
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(const Aws::String &value)
#define AWS_COGNITOSYNC_API
JSON (JavaScript Object Notation).