AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
IdentityPoolShortDescription.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CognitoIdentity {
20namespace Model {
21
28 public:
29 AWS_COGNITOIDENTITY_API IdentityPoolShortDescription() = default;
30 AWS_COGNITOIDENTITY_API IdentityPoolShortDescription(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
39 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
40 template <typename IdentityPoolIdT = Aws::String>
41 void SetIdentityPoolId(IdentityPoolIdT&& value) {
42 m_identityPoolIdHasBeenSet = true;
43 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
44 }
45 template <typename IdentityPoolIdT = Aws::String>
47 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetIdentityPoolName() const { return m_identityPoolName; }
57 inline bool IdentityPoolNameHasBeenSet() const { return m_identityPoolNameHasBeenSet; }
58 template <typename IdentityPoolNameT = Aws::String>
59 void SetIdentityPoolName(IdentityPoolNameT&& value) {
60 m_identityPoolNameHasBeenSet = true;
61 m_identityPoolName = std::forward<IdentityPoolNameT>(value);
62 }
63 template <typename IdentityPoolNameT = Aws::String>
65 SetIdentityPoolName(std::forward<IdentityPoolNameT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_identityPoolId;
71 bool m_identityPoolIdHasBeenSet = false;
72
73 Aws::String m_identityPoolName;
74 bool m_identityPoolNameHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CognitoIdentity
79} // namespace Aws
AWS_COGNITOIDENTITY_API IdentityPoolShortDescription(Aws::Utils::Json::JsonView jsonValue)
IdentityPoolShortDescription & WithIdentityPoolName(IdentityPoolNameT &&value)
AWS_COGNITOIDENTITY_API IdentityPoolShortDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COGNITOIDENTITY_API IdentityPoolShortDescription()=default
IdentityPoolShortDescription & WithIdentityPoolId(IdentityPoolIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue