AWS SDK for C++  0.14.3
AWS SDK for C++
SetIdentityPoolConfigurationResult.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
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace CognitoSync
34 {
35 namespace Model
36 {
41  {
42  public:
46 
51  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
52 
57  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolId = value; }
58 
63  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolId = value; }
64 
69  inline void SetIdentityPoolId(const char* value) { m_identityPoolId.assign(value); }
70 
75  inline SetIdentityPoolConfigurationResult& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
76 
81  inline SetIdentityPoolConfigurationResult& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(value); return *this;}
82 
87  inline SetIdentityPoolConfigurationResult& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
88 
92  inline const PushSync& GetPushSync() const{ return m_pushSync; }
93 
97  inline void SetPushSync(const PushSync& value) { m_pushSync = value; }
98 
102  inline void SetPushSync(PushSync&& value) { m_pushSync = value; }
103 
107  inline SetIdentityPoolConfigurationResult& WithPushSync(const PushSync& value) { SetPushSync(value); return *this;}
108 
112  inline SetIdentityPoolConfigurationResult& WithPushSync(PushSync&& value) { SetPushSync(value); return *this;}
113 
117  inline const CognitoStreams& GetCognitoStreams() const{ return m_cognitoStreams; }
118 
122  inline void SetCognitoStreams(const CognitoStreams& value) { m_cognitoStreams = value; }
123 
127  inline void SetCognitoStreams(CognitoStreams&& value) { m_cognitoStreams = value; }
128 
132  inline SetIdentityPoolConfigurationResult& WithCognitoStreams(const CognitoStreams& value) { SetCognitoStreams(value); return *this;}
133 
137  inline SetIdentityPoolConfigurationResult& WithCognitoStreams(CognitoStreams&& value) { SetCognitoStreams(value); return *this;}
138 
139  private:
140  Aws::String m_identityPoolId;
141  PushSync m_pushSync;
142  CognitoStreams m_cognitoStreams;
143  };
144 
145 } // namespace Model
146 } // namespace CognitoSync
147 } // namespace Aws
SetIdentityPoolConfigurationResult & WithPushSync(PushSync &&value)
SetIdentityPoolConfigurationResult & WithCognitoStreams(const CognitoStreams &value)
SetIdentityPoolConfigurationResult & WithIdentityPoolId(const char *value)
SetIdentityPoolConfigurationResult & WithCognitoStreams(CognitoStreams &&value)
SetIdentityPoolConfigurationResult & WithIdentityPoolId(Aws::String &&value)
SetIdentityPoolConfigurationResult & WithIdentityPoolId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_COGNITOSYNC_API
SetIdentityPoolConfigurationResult & WithPushSync(const PushSync &value)
JSON (JavaScript Object Notation).