/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Mobile { namespace Model { /** *

The details of the bundle.

See Also:

AWS * API Reference

*/ class BundleDetails { public: AWS_MOBILE_API BundleDetails(); AWS_MOBILE_API BundleDetails(Aws::Utils::Json::JsonView jsonValue); AWS_MOBILE_API BundleDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MOBILE_API Aws::Utils::Json::JsonValue Jsonize() const; inline const Aws::String& GetBundleId() const{ return m_bundleId; } inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; } inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; } inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); } inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); } inline BundleDetails& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;} inline BundleDetails& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;} inline BundleDetails& WithBundleId(const char* value) { SetBundleId(value); return *this;} inline const Aws::String& GetTitle() const{ return m_title; } inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } inline BundleDetails& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} inline BundleDetails& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} inline BundleDetails& WithTitle(const char* value) { SetTitle(value); return *this;} inline const Aws::String& GetVersion() const{ return m_version; } inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } inline BundleDetails& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} inline BundleDetails& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} inline BundleDetails& WithVersion(const char* value) { SetVersion(value); return *this;} inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } inline BundleDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} inline BundleDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} inline BundleDetails& WithDescription(const char* value) { SetDescription(value); return *this;} inline const Aws::String& GetIconUrl() const{ return m_iconUrl; } inline bool IconUrlHasBeenSet() const { return m_iconUrlHasBeenSet; } inline void SetIconUrl(const Aws::String& value) { m_iconUrlHasBeenSet = true; m_iconUrl = value; } inline void SetIconUrl(Aws::String&& value) { m_iconUrlHasBeenSet = true; m_iconUrl = std::move(value); } inline void SetIconUrl(const char* value) { m_iconUrlHasBeenSet = true; m_iconUrl.assign(value); } inline BundleDetails& WithIconUrl(const Aws::String& value) { SetIconUrl(value); return *this;} inline BundleDetails& WithIconUrl(Aws::String&& value) { SetIconUrl(std::move(value)); return *this;} inline BundleDetails& WithIconUrl(const char* value) { SetIconUrl(value); return *this;} inline const Aws::Vector& GetAvailablePlatforms() const{ return m_availablePlatforms; } inline bool AvailablePlatformsHasBeenSet() const { return m_availablePlatformsHasBeenSet; } inline void SetAvailablePlatforms(const Aws::Vector& value) { m_availablePlatformsHasBeenSet = true; m_availablePlatforms = value; } inline void SetAvailablePlatforms(Aws::Vector&& value) { m_availablePlatformsHasBeenSet = true; m_availablePlatforms = std::move(value); } inline BundleDetails& WithAvailablePlatforms(const Aws::Vector& value) { SetAvailablePlatforms(value); return *this;} inline BundleDetails& WithAvailablePlatforms(Aws::Vector&& value) { SetAvailablePlatforms(std::move(value)); return *this;} inline BundleDetails& AddAvailablePlatforms(const Platform& value) { m_availablePlatformsHasBeenSet = true; m_availablePlatforms.push_back(value); return *this; } inline BundleDetails& AddAvailablePlatforms(Platform&& value) { m_availablePlatformsHasBeenSet = true; m_availablePlatforms.push_back(std::move(value)); return *this; } private: Aws::String m_bundleId; bool m_bundleIdHasBeenSet = false; Aws::String m_title; bool m_titleHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_iconUrl; bool m_iconUrlHasBeenSet = false; Aws::Vector m_availablePlatforms; bool m_availablePlatformsHasBeenSet = false; }; } // namespace Model } // namespace Mobile } // namespace Aws