This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-pinpoint/include/aws/pinpoint/model/ApplicationResponse.h

289 lines
11 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/pinpoint/Pinpoint_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Pinpoint
{
namespace Model
{
/**
* <p>Provides information about an application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationResponse">AWS
* API Reference</a></p>
*/
class AWS_PINPOINT_API ApplicationResponse
{
public:
ApplicationResponse();
ApplicationResponse(Aws::Utils::Json::JsonView jsonValue);
ApplicationResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline ApplicationResponse& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline ApplicationResponse& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline ApplicationResponse& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The unique identifier for the application. This identifier is displayed as
* the <b>Project ID</b> on the Amazon Pinpoint console.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The unique identifier for the application. This identifier is displayed as
* the <b>Project ID</b> on the Amazon Pinpoint console.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The unique identifier for the application. This identifier is displayed as
* the <b>Project ID</b> on the Amazon Pinpoint console.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The unique identifier for the application. This identifier is displayed as
* the <b>Project ID</b> on the Amazon Pinpoint console.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The unique identifier for the application. This identifier is displayed as
* the <b>Project ID</b> on the Amazon Pinpoint console.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The unique identifier for the application. This identifier is displayed as
* the <b>Project ID</b> on the Amazon Pinpoint console.</p>
*/
inline ApplicationResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The unique identifier for the application. This identifier is displayed as
* the <b>Project ID</b> on the Amazon Pinpoint console.</p>
*/
inline ApplicationResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The unique identifier for the application. This identifier is displayed as
* the <b>Project ID</b> on the Amazon Pinpoint console.</p>
*/
inline ApplicationResponse& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The display name of the application. This name is displayed as the <b>Project
* name</b> on the Amazon Pinpoint console.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The display name of the application. This name is displayed as the <b>Project
* name</b> on the Amazon Pinpoint console.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The display name of the application. This name is displayed as the <b>Project
* name</b> on the Amazon Pinpoint console.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The display name of the application. This name is displayed as the <b>Project
* name</b> on the Amazon Pinpoint console.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The display name of the application. This name is displayed as the <b>Project
* name</b> on the Amazon Pinpoint console.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The display name of the application. This name is displayed as the <b>Project
* name</b> on the Amazon Pinpoint console.</p>
*/
inline ApplicationResponse& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The display name of the application. This name is displayed as the <b>Project
* name</b> on the Amazon Pinpoint console.</p>
*/
inline ApplicationResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The display name of the application. This name is displayed as the <b>Project
* name</b> on the Amazon Pinpoint console.</p>
*/
inline ApplicationResponse& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A string-to-string map of key-value pairs that identifies the tags that are
* associated with the application. Each tag consists of a required tag key and an
* associated tag value.</p>
*/
inline ApplicationResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace Pinpoint
} // namespace Aws